Python: Certain Unicode Characters Do Not Display Correctly
I am trying to set the label of a GUI-element to display a greek letter with Python. str(u'\u0054'.encode('utf8')) will correctly produce the unicode character 'T', as its unicode
Solution 1:
Your output encoding is wrong. Make sure your terminal is correctly configured for UTF-8 output.
If I interpret your (rather muddy) image correctly, CE B6 is being displayed as ζ which is consistent with any one of a number of common Western 8-bit encodings.
Post a Comment for "Python: Certain Unicode Characters Do Not Display Correctly"