[Python-Dev] Import and unicode: part two
James Y Knight
foom at fuhm.net
Thu Jan 20 11:15:59 CET 2011
On Jan 19, 2011, at 11:39 PM, Toshio Kuratomi wrote:
> Tangent: This is not true about Linux. UTF-8 is a matter of the
> interpretation of the filesystem bytes that the user specifies by setting
> their system locale. Setting system locale to ASCII for use in system-wide
> scripts, is quite common as is changing locale settings in other parts of
> the world (as I can tell you from the bug reports colleagues CC me on to fix
> for the problems with unicode support in their python2 programs).
Fortunately, there's been some (slow) movement towards adding a "C.UTF-8" locale and using that by default where "C" (ASCII) is currently used. So that may be less of a problem in a few years time.
More information about the Python-Dev