diff options
-rw-r--r-- | tests/email.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/email.scm b/tests/email.scm index a2a38df..fb2c45b 100644 --- a/tests/email.scm +++ b/tests/email.scm @@ -138,4 +138,10 @@ foo "Foo =?UTF-8?Q?B=C3=A3r?=") "Foo Bãr") +(test-equal "decode MIME encoded phrases that contain multiple MIME encoded words each with their own encoding" + ((module-ref (resolve-module '(email email)) + 'decode-mime-encoded-word) + "=?iso-8859-1?Q?=A1Hola,_se=F1or!?= =?UTF-8?Q?B=C3=A3r?=") + "¡Hola, señor! Bãr") + (test-end "email") |