fuxploider icon indicating copy to clipboard operation
fuxploider copied to clipboard

templates contains utf-8, which my python3 balks at

Open twilight-sparkle-irl opened this issue 5 years ago • 2 comments

bootsy@vps:~/fuxploider$ python3 fuxploider.py
Traceback (most recent call last):
  File "fuxploider.py", line 31, in <module>
    templates = json.loads(fd.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1492: ordinal not in range(128)

twilight-sparkle-irl avatar Nov 01 '18 18:11 twilight-sparkle-irl

It looks like 0xe2 is the character 'â'. Did you add anything to the files techniques.json or templates.json ? I don't find any 'â' in these files at the moment.

almandin avatar Nov 02 '18 18:11 almandin

As of a9eb7e3 fuxploider uses utf-8 encoding so it should work.

Bigjango13 avatar Mar 28 '22 17:03 Bigjango13