diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-10-12 15:25:58 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-10-12 15:25:58 +0200 |
commit | 4546ac1e5396f3ab885df9a1398863c3387f4fc3 (patch) | |
tree | 4d595fe0d245f8026f4dac87103303de8555aab0 | |
parent | f9c494a5cc9d05c14f10c6966132107491e5ee9b (diff) |
QUOTE-PRINTABLE: Add a remark about the relationship between the Quoted-Printable and Q encodings.
darcs-hash:e70a4c2b8a1b5575de39600670bc016eb47af0ac
-rw-r--r-- | utils.lisp | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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)))) |