[Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Tue Jun 28 16:06:17 CEST 2011
- Previous message: [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?
- Next message: [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 28 Jun 2011 15:43:05 +0200 Victor Stinner <victor.stinner at haypocalc.com> wrote:
- ISO-8859-1 os some FreeBSD systems - ANSI code page on Windows, e.g. cp1252 (close to ISO-8859-1) in Western Europe, cp952 in Japan, ... - ASCII if the locale is manually set to an empty string or to "C", or if the environment is empty, or by default on some systems - something different depending on the system and user configuration...
Why would utf-8 be the right thing in these cases?
Regards
Antoine.
- Previous message: [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?
- Next message: [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]