Hi, I've been making an android app in python 3.5 and it's nearing completion but there's one problem that I'm having trouble with.
The app is partially text based and there're few screen manager screens that have a top navigation bar with a Label embedded inside it and few buttons below. Text within the label/buttons contains few words with some diacritic signs (such as ščćđž).
The issue is that if I compile the app via buildozer and python3crystax I get the following Unicode error and the app crashes on startup.
UnicodeDecodeError: "ascii' codec can't decode byte 0xc5 in position 793: ordinal not in range(128)"
On the other had if I replace those characters with non diacritics the app builds and runs fine. In contrast to that if the build is made with python 2.7 instead of 3 even diacritic signs in the mentioned label/buttons work.
Interesting part is that that the full app gets some text from a database and inserts it in Recycle View buttons and a Page Layout, those contain several hundred words with diacritics and work/render perfectly fine in both python 2 and 3.
As far as I understand the Button widget inherits from the Label so I don't know why some Labels/Buttons work and other not.
I've attached a small excerpt that depicts the problem, issue happens with both custom and default font.
How would one go about fixing this? and why does the error happen in the first place?
I'd really appreciate some help
Thanks