such traceback, so ascii
arthurdent opened this issue · comments
[arthurdent@gibson ~]$ doge
Traceback (most recent call last):
File "/usr/bin/doge", line 5, in <module>
doge.main()
File "/usr/lib/python3.3/site-packages/doge/doge.py", line 303, in main
shibe.setup()
File "/usr/lib/python3.3/site-packages/doge/doge.py", line 68, in setup
doge = self.load_doge()
File "/usr/lib/python3.3/site-packages/doge/doge.py", line 116, in load_doge
return f.readlines()
File "/usr/lib/python3.3/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 29: ordinal not in range(128)
much sad
Strange.
What does /usr/bin/locale
output for you? I can't really reproduce this.
Does it run if you change line 115 to with open(self.doge_path, encoding='utf-8') as f
?
very locale wow
so python very gratitude
was very C
wow
now such en_US.UTF-8 such doge
such oops
so fix
wow very shibe
much pebkac
🐕