[issue1103926] email.base64MIME.header_encode vs RFC 1522

Daniel Diniz report at bugs.python.org
Tue Feb 10 00:15:21 CET 2009


Daniel Diniz <ajaksu at gmail.com> added the comment:

RFC 2047 says the encoding is case-insensitive. Please, close as invalid.

RFC 2047:
2. Syntax of encoded-words

   An 'encoded-word' is defined by the following ABNF grammar.
[...]
   encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
   charset = token    ; see section 3
   encoding = token   ; see section 4

[...]
   Both 'encoding' and 'charset' names are case-independent.  Thus the
   charset name "ISO-8859-1" is equivalent to "iso-8859-1", and the
   encoding named "Q" may be spelled either "Q" or "q".

----------
nosy: +ajaksu2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1103926>
_______________________________________


More information about the Python-bugs-list mailing list