We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27e6a5 commit a0fa187Copy full SHA for a0fa187
libs/ustr.py
@@ -9,7 +9,9 @@ def ustr(x):
9
if type(x) == str:
10
return x.decode(DEFAULT_ENCODING)
11
if type(x) == QString:
12
- return unicode(x)
+ #https://blog.csdn.net/friendan/article/details/51088476
13
+ #https://blog.csdn.net/xxm524/article/details/74937308
14
+ return unicode(x.toUtf8(), DEFAULT_ENCODING, 'ignore')
15
return x
16
else:
17
0 commit comments