1. 03 Jun, 2010 1 commit
    • R. David Murray's avatar
      Fix Charset.body_encode to encode to output_charset before calling base64mime. · 2e6bd048
      R. David Murray authored
      This means that what gets encoded in base64 is the encoded version of the
      unicode payload.  This bug was revealed by a forward port of the tests from
      Issue 1368247, but the fix was completely different.
      
      Note that the merge is only of the tests, the doc changes were inappropriate
      since email5 expects unicode, not bytes.  I'm also not convinced that
      quopri works correctly in email5, but that's a different issue.
      
      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.
      ........
      2e6bd048
  2. 02 Jun, 2010 4 commits
  3. 01 Jun, 2010 4 commits
  4. 31 May, 2010 3 commits
  5. 30 May, 2010 5 commits
  6. 29 May, 2010 4 commits
  7. 28 May, 2010 4 commits
  8. 27 May, 2010 5 commits
  9. 26 May, 2010 9 commits
  10. 25 May, 2010 1 commit
    • Victor Stinner's avatar
      Blocked revisions 81537 via svnmerge · 76d359a8
      Victor Stinner authored
      ........
        r81537 | victor.stinner | 2010-05-26 00:30:32 +0200 (mer., 26 mai 2010) | 3 lines
      
        Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding and
        error handler, instead of writing to the C stderr file in utf-8
      ........
      
      py3k was already fixed by r81252.
      76d359a8