0

When I enter Unicode data as values for TextCtrl, I get the following errors:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 5: charac
ter maps to <undefined>

I am trying enter Burmese text (U+1000 to U+10FF).

1
Contributor
2
Replies
3
Views
9 Years
Discussion Span
Last Post by friendklay
0

Solved. String needs to be of Unicode type by explictily appending u"someunicodestring". :). BUT, I need to set the font for the display to work correctly. Now it is showing rectangles.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.