r/Python • • May 26 '14

Python 3 is killing Python

https://medium.com/@deliciousrobots/5d2ad703365d/
0 Upvotes

147 comments sorted by

View all comments

Show parent comments

3

u/mitsuhiko Flask Creator May 26 '14

No. That's because POSIX demands that the locale is set to C and that implies ASCII. However the locale only controls messages, it should not define anything about filesystem encodings. I wrote about this recently: http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/

0

u/[deleted] May 26 '14

[deleted]

2

u/mitsuhiko Flask Creator May 26 '14

There is no requirement for a system to have en_US.UTF-8 as a locale. Imagine you are on a German system.

0

u/[deleted] May 26 '14

[deleted]

2

u/mitsuhiko Flask Creator May 26 '14

If en_EN.UTF-8 is not installed on the system, then it falls back to the C locale so it goes back to ASCII.