[PyQt] Unicode characters in QTreeView

Doogster thedoogster at gmail.com
Wed Sep 9 08:50:25 BST 2009


Japanese characters aren't displaying properly in my QTreeView.

What should I do?

Here's a screenshot (the bottom line should be in Japanese).
http://img.photobucket.com/albums/v298/dugan-c/unicode-error.jpg

This is an MPD client and the rows are id3 tags. The line in question
does display properly in Amarok and (significantly, since it uses the
same python-mpd library I'm using) in Sonata. That means there's
nothing wrong with either the data or the library I'm using to read
it; the fault is with my GUI code.


More information about the PyQt mailing list