comparison paste/paste.518 @ 8573:8d8f066c6001

<xfix> ` unidecode $\'\\xF0\\x82\\x82\\xAC\' |& paste
author HackBot
date Wed, 22 Jun 2016 20:36:30 +0000
parents
children
comparison
equal deleted inserted replaced
8572:abcbf0afc6ff 8573:8d8f066c6001
1 Traceback (most recent call last):
2 File "/hackenv/bin/unidecode", line 4, in <module>
3 s = u" ".join("[U+{0:04X} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")
4 File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
5 return codecs.utf_8_decode(input, errors, True)
6 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-2: invalid continuation byte