blob: b8479cb41736357f9bfd04bc0232b75b2a11399f [file] [log] [blame]
Denys Vlasenkoc538d5b2014-08-13 09:57:44 +02001LANG=en_US.UTF-8
2
3# A combining character U+300
4a=`printf "\xcc\x80"`
5# Should print 1
6echo ${#a}
7
Denys Vlasenko10ad6222017-04-17 16:13:32 +02008# A Japanese katakana character U+30a3
Denys Vlasenkoc538d5b2014-08-13 09:57:44 +02009a=`printf "\xe3\x82\xa3"`
10# Should print 1
11echo ${#a}
12
13echo Ok