1 2 3 4 5 6 7
unset LC_ALL LC_CTYPE export LANG=en_US.UTF-8 case $(printf %d\\n \'À) in 192) exit 0;; *) echo "printf2.sub: multibyte character conversion failed" >&2 ; exit 2 ;; esac