Thank you! That’s helpful. I spent quite some time trying to understand the difference between UTF-8 and Python’s representation and arrived at the same understanding as you wrote. However, most of the external documents simply say that strings in Python are UTF-8 which made me conclude that perhaps I am missing something and it might be safer to write it as utf-8.
Hi @qwop, I am the author. Thank you for reading and the kind words.
I would like to understand the error I made better so that I don’t repeat in future, and if I can fix it. Could you please clarify?
Thank you! That’s helpful. I spent quite some time trying to understand the difference between UTF-8 and Python’s representation and arrived at the same understanding as you wrote. However, most of the external documents simply say that strings in Python are UTF-8 which made me conclude that perhaps I am missing something and it might be safer to write it as utf-8.
I will look more in the code as you suggested.