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?