summaryrefslogtreecommitdiff
path: root/utils.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-10-12 15:25:58 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-10-12 15:25:58 +0200
commit4546ac1e5396f3ab885df9a1398863c3387f4fc3 (patch)
tree4d595fe0d245f8026f4dac87103303de8555aab0 /utils.lisp
parentf9c494a5cc9d05c14f10c6966132107491e5ee9b (diff)
QUOTE-PRINTABLE: Add a remark about the relationship between the Quoted-Printable and Q encodings.
darcs-hash:e70a4c2b8a1b5575de39600670bc016eb47af0ac
Diffstat (limited to 'utils.lisp')
-rw-r--r--utils.lisp10
1 files changed, 9 insertions, 1 deletions
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))))