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).
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).
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.
I could add custom fonts as the 6th arg of wx.Font method. :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.