From: Philipp Takacs Date: Sun, 7 Aug 2016 19:57:30 +0000 (+0200) Subject: add a test for repl on a ASCII only system X-Git-Tag: mmh-0.3~11 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=8884262ec2ed546eed9d2bf999b3321b3c6c4903 add a test for repl on a ASCII only system This should create the same output as with utf-8. But the Umlaut should be displayed as '?'. This isn't the case at the moment. --- diff --git a/test/tests/repl/test-decode-addr b/test/tests/repl/test-decode-addr index 145957c..4be347c 100644 --- a/test/tests/repl/test-decode-addr +++ b/test/tests/repl/test-decode-addr @@ -7,6 +7,10 @@ . "$MH_TEST_COMMON" +require_locale en_US.utf-8 en_US.utf8 +LC_ALL=en_US.UTF-8 +export LC_ALL +unset MM_CHARSET # create message to reply to @@ -69,3 +73,26 @@ Comments: In-reply-to Jürgen > foo ! +LC_ALL=C +export LC_ALL + +# create the group reply draft +runandcheck 'repl -group -nocc me -whatnow true l +inbox' < +Cc: bob@example.com, K?the +Fcc: +sent +Subject: Re: repl addr decode +In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org> +References: <1as2n8-1Q9-00@deseo.home.schnalke.org> +Comments: In-reply-to J?rgen + message dated "Mon, 18 Apr 2016 08:36:14 +0200." +-------- +[2016-04-18 08:36] J?rgen +> +> part text/plain 4 +> foo +!