blob: e28ea482ac2380cda477744ba5a27589a6a9d78b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# a umlaut
s=$(printf '\303\244')
# euro sign
s=$s$(printf '\342\202\254')
# Start a new shell so the locale change is picked up.
ss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\u00e4\u20ac'")"
[ "$s" = "$ss" ]
|