xref: /freebsd/bin/sh/tests/expansion/length7.0 (revision e1c4c8dd8d2d10b6104f06856a77bd5b4813a801)
1
2unset LC_ALL
3LC_CTYPE=en_US.UTF-8
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} = 3 ] && [ ${#1} = 3 ]
14