I'm working on the tutorial at:
http://zetcode.com/gui/pyqt4/firstprograms/
It has been very helpful. I have been experimenting to expand my knowledge.
In the first example program I see:
# -*- coding: utf-8 -*-
I assume that this means that the encoding is UTF-8. (No?)
If I understand correctly, this means that I should be able to use other
natural languages such as Russian, at least in strings, UI, etc. (No?)
The title bar text is set by the line:
w.setWindowTitle('Simple')
I changed the string 'Simple" to Russian 'Простой', which is Russian for 'Simple'.
When I execute the file the text is not properly displayed in the title bar.
Similarly, when I put Russian text in the Tooltip example it is also not
displayed properly.
Similarly, when I change the label of the "Quit" button in that example the
text is also not properly displayed.
Is there something I have to do differently to get these things to work?
Or are these labels dependent upon the system language (which in my
case is English)? Or does this represent a limitation of the PyQt?
Thanks in advance for any pointers.
Tom