• Barry Warsaw's avatar
    NullTranslations.__init__(): Back out of setting the default charset · 6008cbd4
    Barry Warsaw yazdı
    to iso-8859-1.
    
    GNUTranslations._parse(): Back out the addition of a test for
    Project-ID-Version in the metadata.  This was deliberately removed in
    response to SF patch #700839.
    
    Also, re-organize the code in _parse() so we parse the metadata header
    containing the charset parameter before we try to decode any strings
    using charset.
    6008cbd4
gettext.py 15.5 KB