It should be:but those strings will be displayed correctly only if your console uses UTF-8. You might try toAscii() or toLocal8Bit() instead.Python Code:
while query.next(): candidate = query.value(0).toString() print candidate.toUtf8()To copy to clipboard, switch view to plain text mode
Bookmarks