[Python-Dev] PEP 529: Change Windows filesystem encoding to UTF-8 (original) (raw)
Adam Bartoš drekin at gmail.com
Sat Sep 3 14:31:05 EDT 2016
- Previous message (by thread): [Python-Dev] PEP 529: Change Windows filesystem encoding to UTF-8
- Next message (by thread): [Python-Dev] PEP 529: Change Windows filesystem encoding to UTF-8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan (ncoghlan at gmail.com) on Sat Sep 3 12:27:44 EDT 2016 wrote:
After also reading the Windows console encoding PEP, I realised there's a couple of missing discussions here regarding the impacts on sys.argv, os.environ, and os.environb.
The reason that's relevant is that "sys.getfilesystemencoding" is a bit of a misnomer, as it's also used to determine the assumed encoding of command line arguments and environment variables. Regarding sys.argv, AFAIK Unicode arguments work well on Python 3. Even non-BMP characters are transferred correctly.
Adam Bartoš -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160903/b53b9d19/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 529: Change Windows filesystem encoding to UTF-8
- Next message (by thread): [Python-Dev] PEP 529: Change Windows filesystem encoding to UTF-8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]