This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients loewis, vstinner
Date 2010-09-12.20:35:23
SpamBayes Score 1.2006951e-11
Marked as misclassified No
Message-id <201009122235.13850.victor.stinner@haypocalc.com>
In-reply-to <4C8D09F0.7020901@v.loewis.de>
Content
> FindFirst/NextFileA will also do some other interesting conversions,
> such as the best-fit conversion (which the "mbcs" code doesn't do
> (anymore?)).

About mbcs, mbcs codec of Python 3.1 is like .encode('mbcs', 'replace') and 
.decode('mbcs', 'ignore') of Python 3.2 (see issue #850997). By default 
(strict error handler), it now raises errors on undecodable byte sequence and 
unencodable character, whereas Python 3.1 just ignores the error handler.

PyUnicode_EncodeFSDefault / PyUnicode_DecodeFSDefault uses the strict error 
handler.

I just added a note about mbcs in Doc/whatsnew/3.2.rst: r84750.
History
Date User Action Args
2010-09-12 20:35:30vstinnersetrecipients: + vstinner, loewis
2010-09-12 20:35:24vstinnerlinkissue9820 messages
2010-09-12 20:35:23vstinnercreate