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
#2
If you provide some code and the actual error text when you exclude the .encode('utf-8) you might get some responses. As is your question is too nebulous
Reply


Forum Jump:

User Panel Messages

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