busybox/shell/hush_test/hush-misc/unicode1.tests
Denys Vlasenko 10ad622dc2 Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-04-17 16:13:32 +02:00

14 lines
201 B
Plaintext
Executable File

LANG=en_US.UTF-8
# A combining character U+300
a=`printf "\xcc\x80"`
# Should print 1
echo ${#a}
# A Japanese katakana character U+30a3
a=`printf "\xe3\x82\xa3"`
# Should print 1
echo ${#a}
echo Ok