]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
NullTranslations.__init__(): Back out of setting the default charset
authorBarry Warsaw <barry@python.org>
Fri, 11 Apr 2003 20:26:47 +0000 (20:26 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 11 Apr 2003 20:26:47 +0000 (20:26 +0000)
commit6008cbd4c2b5b4f5e9941f312804e12c88aa6efe
treec96feee133fe300c52507b9ba83d58472e2344d0
parent3bc093b717fc29ecf4540d4204447f8447d7377d
NullTranslations.__init__(): Back out of setting the default charset
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.
Lib/gettext.py