A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-February/116362.html below:

[Python-Dev] Add a new "locale" codec?

[Python-Dev] Add a new "locale" codec? [Python-Dev] Add a new "locale" codec?Nick Coghlan ncoghlan at gmail.com
Thu Feb 9 21:43:24 CET 2012
On Fri, Feb 10, 2012 at 12:59 AM, Stephen J. Turnbull
<stephen at xemacs.org> wrote:
> If this is needed, it should be spelled "os.getlocaleencoding()" (or
> "sys.getlocaleencoding()"?)

Or locale.getpreferredencoding(), even ;)

FWIW, I agree with Stephen on this one, but take that with the grain
of salt that I could probably decode most of the strings I work with
as ASCII without breaking anything.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4