Python Forum
[Kivy] A question about encoding
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Kivy] A question about encoding
#1
I had to add .encode('utf-8') to the end of a string containing vowels with macrons (ā and ē) to prevent my Kivy app from crashing, but these characters are not rendered properly in the app now. ē appears as \xc4\x93 and the string has been converted into a bytes literal. How do I prevent this?
Reply


Messages In This Thread
A question about encoding - by Exsul1 - Mar-18-2020, 12:40 AM
RE: A question about encoding - by deanhystad - Mar-22-2020, 06:02 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020