Message372452
The fromfile_prefix_chars option allows you to read arguments from file. But open() without explicit encoding is used for this. Therefore the result is depending on the current locale or the PYTHONIOENCODING environment variable. On Linux this is rare a problem, because UTF-8 is a common locale encoding, but on Windows the locale encoding is usually 8-bit and may even be not able to encode all file names.
I think we need a new option to specify the encoding for files from which arguments are read. |
|
Date |
User |
Action |
Args |
2020-06-27 07:13:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger |
2020-06-27 07:13:47 | serhiy.storchaka | set | messageid: <1593242027.84.0.221105259078.issue41136@roundup.psfhosted.org> |
2020-06-27 07:13:47 | serhiy.storchaka | link | issue41136 messages |
2020-06-27 07:13:47 | serhiy.storchaka | create | |
|