diff --git a/t/1000-mmime.t b/t/1000-mmime.t index 47ca63b..0408d32 100755 --- a/t/1000-mmime.t +++ b/t/1000-mmime.t @@ -1,7 +1,7 @@ #!/bin/sh -e cd ${0%/*} . ./lib.sh -plan 12 +plan 16 cat <tmp References: @@ -89,3 +89,29 @@ This part too. EOF check 'content-transfer-encoding is respected if found in input, for multipart/mixed' 'mmime tmp2 +From: Kerstin Krüger + +Body. +EOF + +check 'non-ASCII is encoded as UTF-8' 'mmime tmp2 +From: "Krüger, Kerstin" + +Body. +EOF + +check 'non-ASCII quoted-strings are encoded as one encoded-word' 'mmime tmp2 +From: "kerstin krueger"@example.com + +Body. +EOF + +check 'non-encoded quoted-strings are kept correctly' 'mmime