blob: b8479cb41736357f9bfd04bc0232b75b2a11399f [file] [log] [blame]
Denys Vlasenkoa62bc802016-10-03 00:06:55 +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 Vlasenkoa62bc802016-10-03 00:06:55 +02009a=`printf "\xe3\x82\xa3"`
10# Should print 1
11echo ${#a}
12
13echo Ok