Mercurial > repo
changeset 8573:8d8f066c6001
<xfix> ` unidecode $\'\\xF0\\x82\\x82\\xAC\' |& paste
author | HackBot |
---|---|
date | Wed, 22 Jun 2016 20:36:30 +0000 |
parents | abcbf0afc6ff |
children | 1ad0da98388e |
files | paste/paste.518 |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paste/paste.518 Wed Jun 22 20:36:30 2016 +0000 @@ -0,0 +1,6 @@ +Traceback (most recent call last): + File "/hackenv/bin/unidecode", line 4, in <module> + 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") + File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode + return codecs.utf_8_decode(input, errors, True) +UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-2: invalid continuation byte