Message389090
| Author |
vstinner |
| Recipients |
eryksun, lemburg, methane, vstinner |
| Date |
2021年03月19日.14:01:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1616162473.75.0.890679777572.issue43552@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> In UTF-8 mode, it's fine to `open(filename)` uses UTF-8. But I want to use "locale encoding" for `open(filename, encoding="locale")` because "locale" encoding is specified.
Is it about the current implementation of the PEP 597, or are you thinking at the future Python which would use UTF-8 by default?
Currently, getpreferredencoding(False) respects the behavior that you described, no? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年03月19日 14:01:13 | vstinner | set | recipients:
+ vstinner, lemburg, methane, eryksun |
| 2021年03月19日 14:01:13 | vstinner | set | messageid: <1616162473.75.0.890679777572.issue43552@roundup.psfhosted.org> |
| 2021年03月19日 14:01:13 | vstinner | link | issue43552 messages |
| 2021年03月19日 14:01:13 | vstinner | create |
|