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/116289.html below:

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

[Python-Dev] Add a new "locale" codec? [Python-Dev] Add a new "locale" codec?Simon Cross hodgestar+pythondev at gmail.com
Wed Feb 8 08:34:52 CET 2012
Is the idea to have:

  b"foo".decode("locale")

be roughly equivalent to

  encoding = locale.getpreferredencoding(False)
  b"foo".decode(encoding)

?
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