X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a362ecdd2e3df304885b3d520e56cfb5963bf1a8..1d5e6d0340ba258b34b85ccdac4c402ccf4fd51e:/test/mhl/test-rfc6532?ds=sidebyside diff --git a/test/mhl/test-rfc6532 b/test/mhl/test-rfc6532 index 05dae7bc..0c32a00e 100755 --- a/test/mhl/test-rfc6532 +++ b/test/mhl/test-rfc6532 @@ -81,19 +81,30 @@ Subject: Blåbærsy MIME-Version: 1.0' -# check with incompatible locale -# This is here as a place holder. We should either try to run the (8-bit) text -# through iconv, or refuse to display it if the locale is incompatible. In the -# case of EAI, that means not UTF-8. -# start_test 'incompatible locale' -# LC_ALL=C -# run_test "$mhl -form mhl.headers `mhpath last`" \ -# 'Date: 20 May 2014 14:28:51 +0200 -# To: recipientæ@example.com -# From: sender??@example.com -# Subject: Bl??b??rsyltet??y -# -# MIME-Version: 1.0' +start_test 'incompatible locale' +# Show that LC_CTYPE is sufficient, if LC_ALL is unset. +unset LC_ALL +LC_CTYPE=C; export LC_CTYPE +cat >"$MH_TEST_DIR/test.format" <