Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/email/encoders.py

    r2 r391  
    7777        orig.encode('ascii')
    7878    except UnicodeError:
    79         # iso-2022-* is non-ASCII but still 7-bit
    80         charset = msg.get_charset()
    81         output_cset = charset and charset.output_charset
    82         if output_cset and output_cset.lower().startswith('iso-2202-'):
    83             msg['Content-Transfer-Encoding'] = '7bit'
    84         else:
    85             msg['Content-Transfer-Encoding'] = '8bit'
     79        msg['Content-Transfer-Encoding'] = '8bit'
    8680    else:
    8781        msg['Content-Transfer-Encoding'] = '7bit'
Note: See TracChangeset for help on using the changeset viewer.