From 4546ac1e5396f3ab885df9a1398863c3387f4fc3 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Fri, 12 Oct 2007 15:25:58 +0200 Subject: QUOTE-PRINTABLE: Add a remark about the relationship between the Quoted-Printable and Q encodings. darcs-hash:e70a4c2b8a1b5575de39600670bc016eb47af0ac --- utils.lisp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'utils.lisp') diff --git a/utils.lisp b/utils.lisp index 413d14a..a576a12 100644 --- a/utils.lisp +++ b/utils.lisp @@ -278,7 +278,15 @@ ELEMENT-TYPE as the stream's." (let ((printable-chars - ;; This list is incomplete, but that doesn't hurt. + ;; This list is incomplete, which shouldn't hurt. + ;; + ;; Note that the list is designed to be compatible with both the + ;; Quoted-Printable and Q encodings. Even though + ;; Quoted-Printable itself specifies #\_, #\?, #\= and #\Space as + ;; representing themselves, they may not be left unencoded here + ;; because of this. On the other hand, #\_ cannot be assumed to + ;; encode #\Space, either, because this is only specified by Q, + ;; not by Quoted-Printable. (cons #\Newline (coerce "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,.-!~" 'list)))) -- cgit v1.2.3