This commit is contained in:
Behdad Esfahbod 2013-10-14 16:44:44 +02:00
parent 4e6e53db5d
commit e2dab69291

View File

@ -405,7 +405,7 @@ class Unicode:
@staticmethod
def decode (s):
return '<' + u','.join ("U+%04X" % ord (u) for u in unicode (s, 'utf-8')).encode ('utf-8') + '>'
return u','.join ("U+%04X" % ord (u) for u in unicode (s, 'utf-8')).encode ('utf-8')
@staticmethod
def parse (s):