[Python-Dev] cpython: Issue #16416: OS data are now always encoded/decoded to/from

Antoine Pitrou solipsis at pitrou.net
Mon Nov 12 23:08:59 CET 2012


On Mon, 12 Nov 2012 23:03:45 +0100 (CET)
victor.stinner <python-checkins at python.org> wrote:
>  
> +- Issue #16416: OS data are now always encoded/decoded to/from
> +  UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if
> +  no locale environment variable is set), to avoid inconsistencies with
> +  os.fsencode() and os.fsdecode() functions which are already using
> +  UTF-8/surrogateescape.

I believe you mean "OS X", not "OS".

Regards

Antoine.




More information about the Python-Dev mailing list