summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/unicode1.tests
blob: 8788ba9104d791f0bfc2d6fb6de280b99655fdc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
LANG=en_US.UTF-8

# A combining character U+300
a=`printf "\xcc\x80"`
# Should print 1
echo ${#a}

# A Japanese katakana charachter U+30a3
a=`printf "\xe3\x82\xa3"`
# Should print 1
echo ${#a}

echo Ok