summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-02 22:11:01 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-06-02 22:11:01 +0000
commite036af0ce5a564b958381e49c61a91f7a3591d1a (patch)
tree90544abfc3edce5e786e44598d411337fb013221 /Python/strdup.c
parentb56b50ddd149fd0d81e8b37d38efac60e736da9e (diff)
downloadcpython-git-e036af0ce5a564b958381e49c61a91f7a3591d1a.tar.gz
Merged revisions 81658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines #1368247: make set_charset/MIMEText automatically encode unicode _payload. 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. ........
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions