• abhi9u@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    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.