lucasdemarchi/codespell — Issue #2: unable to run codespell.py on debian lenny with python 3.2.1
Author: orbitcowboy
Created: 2011-11-06 18:02:44+00:00
State: open

$ python3 --version
Python 3.2.1

Here is the traceback:

$./codespell.py dictionary.txt dictionary.txt
Traceback (most recent call last):
File "./codespell.py", line 526, in
sys.exit(main(*sys.argv))
File "./codespell.py", line 473, in main
build_dict(args[0])
File "./codespell.py", line 264, in build_dict
for line in f:
File "/usr/local/lib/python3.2/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3170: ordinal not in range(128)

What do you suggest?

Many thanks

Martin