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