aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/quoted-printable.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/quoted-printable.scm b/tests/quoted-printable.scm
index 334380d..554b85d 100755
--- a/tests/quoted-printable.scm
+++ b/tests/quoted-printable.scm
@@ -106,4 +106,10 @@ abriquent pour te la vendre une =C3=A2me vulgaire.")
charset)
decoded-text))
+(test-equal "q-encoding of special characters"
+ (q-encoding-encode (string->bytevector " _?" "UTF-8"))
+ (string-append "_"
+ (quoted-printable-escape-encode-char #\_)
+ (quoted-printable-escape-encode-char #\?)))
+
(test-end "quoted-printable")