Re:Why Create a New Unix Shell?
by kevin_thibedeau on Wednesday January 31, 2018 @05:43PM
(#16278227)
Python isn't going to reconfigure an ASCII shell on your behalf. It's up to you to enable a Unicode locale and then PY3 just works.
[ Parent
| on HN ]
The problem is bigger than misconfugured locale, namely: what is the encoding used for notionaly text zero-terminated strings that pass through the unix kernel (eg. filenames and program arguments)? There is no way to reliably and portably deduce that from locales.