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:
|
||||
return _UNESCAPE.sub(fixup,s.decode("utf-8")).encode("utf-8")
|
||||
except:
|
||||
print s.decode("utf-8")
|
||||
print repr(s)
|
||||
|
||||
def parse_content(c):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user