Fixed a small bug while printing out non ascii chars
This commit is contained in:
parent
fdb6622073
commit
1aa73e8306
@ -18,7 +18,7 @@ def unescape(s):
|
|||||||
try:
|
try:
|
||||||
return _UNESCAPE.sub(fixup,s.decode("utf-8")).encode("utf-8")
|
return _UNESCAPE.sub(fixup,s.decode("utf-8")).encode("utf-8")
|
||||||
except:
|
except:
|
||||||
print s.decode("utf-8")
|
print repr(s)
|
||||||
|
|
||||||
def parse_content(c):
|
def parse_content(c):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user