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/2011-June/112130.html below:

set the default encoding to 'utf-8' in Python 3.3?

[Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3? [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?Terry Reedy tjreedy at udel.edu
Wed Jun 29 02:22:59 CEST 2011
On 6/28/2011 5:42 PM, Georg Brandl wrote:

> At the very least, a change like this needs a transitional strategy, like
> it has been used during the 2.x series:
>
> * In 3.3, accept "locale" as the encoding parameter, meaning the locale encoding
> * In 3.4, warn if encoding isn't given and the locale encoding isn't UTF-8
> * In 3.5, change default encoding to UTF-8

3.5 should be 4-5 years off. I actually would not propose anything 
faster than that.

-- 
Terry Jan Reedy

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