From: c_14 Date: Mon, 22 May 2017 21:56:12 +0000 (+0200) Subject: add a test to test-scan-multibyte X-Git-Tag: mmh-0.4~36 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=dcda74a843a1198dc23a3f6a17572c2f6ba5de61;ds=sidebyside add a test to test-scan-multibyte Tests for splitting within a multibyte character. --- diff --git a/test/tests/scan/test-scan-multibyte b/test/tests/scan/test-scan-multibyte index 0d843c3..a7a6356 100644 --- a/test/tests/scan/test-scan-multibyte +++ b/test/tests/scan/test-scan-multibyte @@ -10,6 +10,22 @@ export LC_ALL cat >"$MH_TEST_DIR/Mail/inbox/11" < +To: Baz +Subject: Subject Test Header + =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88?= + =?UTF-8?q?=E3=83=98=E3=83=BC=E3=83=87=E3=83=BC?= +Date: Mon, 15 May 2017 15:55:01 +0900 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 +Message-Id: <20170515065506.03959103B49@example.org> + +This is a test email + +! + +cat >"$MH_TEST_DIR/Mail/inbox/12" < @@ -30,13 +46,22 @@ Bob ! -runandcheck "scan 11 +inbox" <