Answer the question
In order to leave comments, you need to log in
How to use Russian letters in a kv file?
I'm trying to parse a kv-file, but it contains the Russian alphabet and this causes an encoding error:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 143: character maps to <undefined>
<Container_1>:
orientation: 'vertical'
padding: 50
Button:
size_hint: 0.5, 0.4
pos_hint: {'center_x': 0.5, 'y': 0.1}
text: 'История'
font_size: 40
Button:
size_hint: 0.5, 0.4
pos_hint: {'center_x': 0.5, 'y': 0.1}
text: 'Провести диагностику'
font_size: 40
on_release:
root.transition_1()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question