Commit Graph

7 Commits

Author SHA1 Message Date
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