annotate paste/paste.518 @ 8621:fdb84cf7acc5
<oerjan> fetch http://ftp.unicode.org/Public/9.0.0/ucd/UnicodeData.txt
author |
HackBot |
date |
Mon, 27 Jun 2016 03:56:44 +0000 |
parents |
8d8f066c6001 |
children |
|
rev |
line source |
8573
|
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
|