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