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

2012年2月08日 02:57:28 -0800

On 2012年02月08日 09:28, Simon Cross wrote:
I think I'm -1 on a "locale" encoding because it refers to different
actual encodings depending on where and when it's run, which seems
surprising, and there's already a more explicit way to achieve the
same effect.
I'd agree that this is undesirable, and I don't really want locale-specific behaviour to leak out in other places that accept a encoding name (eg <?xml encoding="locale"?>), but we already have this behaviour with the "mbcs" encoding on Windows which refers to the locale-specific 'ANSI' code page.
--
And Clover
mailto:[email protected]
http://www.doxdesk.com/
gtalk:[email protected]
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to