Message389579
> If you are lost with locale encodings, you can attempt to encode
> everything in UTF-8 and enables the Python UTF-8 Mode:
rushant is using Python 3.6. UTF-8 mode was added in 3.7, so it's not an option without first upgrading to 3.7. Also, it's important to note that the suggestion to "attempt to encode everything in UTF-8" includes whatever terminal encoding or shell-script file encoding is used for `export a="中文"`. If it's not using UTF-8, then setting the preferred encoding in Python to UTF-8 isn't going to help. |
|
Date |
User |
Action |
Args |
2021-03-27 00:06:43 | eryksun | set | recipients:
+ eryksun, terry.reedy, vstinner, ezio.melotti, rushant |
2021-03-27 00:06:43 | eryksun | set | messageid: <1616803603.94.0.0904383954861.issue43576@roundup.psfhosted.org> |
2021-03-27 00:06:43 | eryksun | link | issue43576 messages |
2021-03-27 00:06:43 | eryksun | create | |
|