Python

Python 3, UTF-8 and Locale

Having some fun with Python 3 and locale configuration

Tiago Katcipis

11 minute read

Python 3, UTF-8 and Locale This post will explore a problem that I had with Python 3 and UTF-8 strings that caught me by surprise and has the objective of helping other people to don’t be caught on the same trap. It is not intended to be a rant against Python, but to be honest the problem and the behavior did not make me too happy about Python. Perhaps it was my failure in finding the proper documentation about it, but for people as stupid as I am it may help.