Anyone able to help with C.UTF-8 locale support?

Nick Coghlan ncoghlan at redhat.com
Mon Jun 16 07:14:24 UTC 2014


One of the challenges with Python 3 relative to Python 2 is that it
cares more about locale encoding setting. This is OK most of the time on
modern versions of Fedora, but "LANG=C" forces the encoding to ASCII
which breaks as soon as Python 3 tries to decode pass non-ASCII data to
or from operating system interfaces.

Setting "LANG=C.UTF-8" instead is a quick and easy way to say "like the
C locale, but with an encoding setting suitable for the 21st century".
However, Fedora doesn't currently provide that locale:
https://bugzilla.redhat.com/show_bug.cgi?id=902094

Is anyone able to help nudge that along?

Cheers,
Nick.

-- 
Nick Coghlan
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane

HSS Provisioning Architect


More information about the python-devel mailing list