Commit Graph

9 Commits

Author SHA1 Message Date
Victor Stinner b9a2a993fe Update 540 for Windows
Describe encodings and error handlers used on Windows and the
priority of PYTHONLEGACYWINDOWSFSENCODING.
2017-01-12 13:32:06 +01:00
Victor Stinner 0e107f280c PEP 540
Add examples for the "List a directory into stdout" use case.
2017-01-11 22:32:24 +01:00
Victor Stinner 1b6b889ed6 PEP 540
* Strict mode doesn't use strict for OS data anymore: keep
  surrogateesscape, explain why in a new alternative
* Define the priority between env vars and cmdline options to choose
  encodings and error handlers
2017-01-11 22:11:42 +01:00
Victor Stinner 4ba2196903 PEP 540: add link to the implementation 2017-01-11 12:30:36 +01:00
Thomas Samson a525758390 PEP 540: correcting english errors 2017-01-09 09:49:11 +01:00
Victor Stinner 9807b217f8 PEP 540
* add section: "It's not a bug, you must fix your locale" is not an
  acceptable answer
* elaborate the "Expected mojibake and surrogate character issues"
  section
* Add the "Producer-consumer model using pipes" use case
2017-01-07 03:05:50 +01:00
Victor Stinner 3c6b56f10c PEP 540
* Add "POSIX locale used by mistake" section
* Add a lot of issues in the Links section
2017-01-06 13:58:57 +01:00
Victor Stinner 5b6b25f5d9 Update PEP 540
* Enable UTF-8 mode by default if the locale is POSIX
* Add Use Cases
* Add "Don't modify the encoding of the POSIX locale" alternative
* Rephase Abstract and Proposal
* Proposal: mention expected mojibake issues
* Fix PEP number: 393 => 383
* Add links
2017-01-06 02:27:42 +01:00
Victor Stinner 9780f3ab43 Add PEP 540: Add a new UTF-8 mode 2017-01-05 16:08:52 +01:00