fix for unicode, ask to use utf-8 encoding
This commit is contained in:
parent
a7241e27dd
commit
aee16cdfdc
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ def cstr(s):
|
|||
s = s.encode('utf-8', 'ignore')
|
||||
except:
|
||||
pass
|
||||
return unicode(s)
|
||||
return unicode(s, 'utf-8')
|
||||
|
||||
def str_esc_quote(s):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue