Staging
v0.5.1
https://github.com/python/cpython
Revision 52dcd4590652e3c6f57a94fb57a5522880b7d72b authored by R. David Murray on 02 June 2010, 22:03:15 UTC, committed by R. David Murray on 02 June 2010, 22:03:15 UTC
Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
the charset and unicode as the _text argument.  Also makes the way in
which unicode gets encoded to quoted printable for other charsets more
sane (it only worked by accident previously).  The _payload now is encoded
to the charset.output_charset if it is unicode.
1 parent c395545
History
Tip revision: 52dcd4590652e3c6f57a94fb57a5522880b7d72b authored by R. David Murray on 02 June 2010, 22:03:15 UTC
#1368247: make set_charset/MIMEText automatically encode unicode _payload.
Tip revision: 52dcd45
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 493 bytes
.hgignore -rw-r--r-- 705 bytes
.hgtags -rw-r--r-- 4.0 KB
LICENSE -rw-r--r-- 13.8 KB
Makefile.pre.in -rw-r--r-- 39.7 KB
README -rw-r--r-- 52.8 KB
configure -rwxr-xr-x 393.3 KB
configure.in -rw-r--r-- 122.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.2 KB
setup.py -rw-r--r-- 82.9 KB

README

back to top