$#%#! UTF-8 in Python
This is not a post about using UTF-8 properly in Python, but doing evil, evil things.
Python dutifully respects the $LANG environment variable on the terminal. It turns out that a lot of the time this variable is totally wrong, it’s set to something like C even though the terminal is UTF-8 encoding.
The problem is [...]




