[Python-Dev] File system path encoding on Windows (original) (raw)
Stephen J. Turnbull turnbull.stephen.fw at u.tsukuba.ac.jp
Wed Aug 24 00:50:06 EDT 2016
- Previous message (by thread): [Python-Dev] File system path encoding on Windows
- Next message (by thread): [Python-Dev] File system path encoding on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve Dower writes:
- Stephen sees "no reason not to change locale.getpreferredencoding()" (default encoding for open()) at the same time with the same switches, while I'm not quite as confident. Do users generally specify an encoding these days? I know I always put utf-8 there.
I was insufficiently specific. "No reason not to" depends on separate switches for file system encoding and preferred encoding. That makes things somewhat more complicated for implementation, and significantly so for users.
- Previous message (by thread): [Python-Dev] File system path encoding on Windows
- Next message (by thread): [Python-Dev] File system path encoding on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]