xref: /freebsd/bin/sh/tests/parser/dollar-quote10.0 (revision 4543ef516683042d46f3bd3bb8a4f3f746e00499)
1
2# a umlaut
3s=$(printf '\303\244')
4# euro sign
5s=$s$(printf '\342\202\254')
6
7# Start a new shell so the locale change is picked up.
8ss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\u00e4\u20ac'")"
9[ "$s" = "$ss" ]
10