diff options
Diffstat (limited to '')
-rw-r--r-- | tests/printf2.sub | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/printf2.sub b/tests/printf2.sub new file mode 100644 index 0000000..45c48d4 --- /dev/null +++ b/tests/printf2.sub @@ -0,0 +1,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 |