unicode by default
TheSaint
nobody at nowhere.net.no
Thu May 12 08:40:08 EDT 2011
More information about the Python-list mailing list
Thu May 12 08:40:08 EDT 2011
- Previous message (by thread): unicode by default
- Next message (by thread): unicode by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
John Machin wrote: > On Thu, May 12, 2011 2:14 pm, Benjamin Kaplan wrote: >> >> If the file you're writing to doesn't specify an encoding, Python will >> default to locale.getdefaultencoding(), > > No such attribute. Perhaps you mean locale.getpreferredencoding() what about sys.getfilesystemencoding() In the event to distribuite a program how to guess which encoding will the user has? -- goto /dev/null
- Previous message (by thread): unicode by default
- Next message (by thread): unicode by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list