Unfortunately changing the encoding didn't help. I'm on a Mac, the OS is Lion and I am using Python 3.1.
On Sat, Dec 3, 2011 at 6:50 PM, Jeremy Sanders <jer...@jeremysanders.net>wrote: > Tore Knabe wrote: > > > Hi, > > > > I am having trouble with Chinese characters strings. Each character > itself > > seems to be drawn okay, but the following character starts at the same > > position, on top of the previous one. Some Chinese characters don't seem > > to have that problem, but most have, especially the most common ones. > Here > > is a short program that demonstrates the problem: the Label should show a > > string of three characters, but they are drawn on top of each other. > > Works for me on Ubuntu 11.10 with Python 2.7. I had to change the encoding > to utf-8 (not utf8 - I think this might be wrong). Also, if you're using > Python 2.x, you need a "u" in front of your unicode string. > > Jeremy > > -- > http://www.jeremysanders.net/ > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt