Hi, I have some little trouble: how can I setText to a QStandardItem having a utf8 encoded string? I mean, something like:
string = "ñññññ" # <-- this is utf8 (just for the example)
item = QStandardItemModel()
item.setText(string) # <-- this wont work! It will add the string, but wont be decoded. It'll be just like \xz1\xz1....
I tried using fromUtf8() without luck. Maybe I did it wrong?
Thanks
Bookmarks