xref: /freebsd/bin/sh/tests/expansion/length8.0 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1
2unset LC_ALL
3LC_CTYPE=en_US.ISO8859-1
4export LC_CTYPE
5
6# a umlaut
7s=$(printf '\303\244')
8# euro sign
9s=$s$(printf '\342\202\254')
10# some sort of 't' outside BMP
11s=$s$(printf '\360\235\225\245')
12set -- "$s"
13[ ${#s} = 9 ] && [ ${#1} = 9 ]
14