Message415922
I am not sure about we really need "locale encoding at Python startup".
For this issue, I don't want to change `encoding="locale"` behavior except ignore UTF-8 mode. So what I want is "current locale encoding" or
ANSI codepage on Windows.
On the other hand, I know Eryk wants to support locale on Windows. So `locale.get_encoding()` might return current locale encoding (not ANSI codepage) even on Windows.
If so, I will use `sys.getlocaleencoding()` to implement `encoding="locale"` to keep using ANSI codepage, instead of adding yet another "get locale encoding" function. |
|
Date |
User |
Action |
Args |
2022-03-24 04:13:41 | methane | set | recipients:
+ methane, lemburg, vstinner, ezio.melotti, eryksun |
2022-03-24 04:13:41 | methane | set | messageid: <1648095221.2.0.297295366393.issue47000@roundup.psfhosted.org> |
2022-03-24 04:13:41 | methane | link | issue47000 messages |
2022-03-24 04:13:41 | methane | create | |
|