[New-bugs-announce] [issue11574] Unicode Fallback Encoding on Python 3.3

Armin Ronacher report at bugs.python.org
Wed Mar 16 18:26:35 CET 2011

New submission from Armin Ronacher <armin.ronacher at active-4.com>:

Right now Python happily falls back to ASCII if it can not parse your LC_CTYPE or something similar happens.  Instead of falling back to ASCII it would be better if it falls back to UTF-8.

Alternatively it should at least give a warning that it's falling back to ASCII.

This issue was discussed at PyCon and the consensus so far was that falling back to UTF-8 in 3.3 might be a good idea and should not break much code as UTF-8 is a superset of ASCII.

components: Unicode
messages: 131144
nosy: aronacher
priority: normal
severity: normal
status: open
title: Unicode Fallback Encoding on Python 3.3
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list