diff options
author | Sascha Peilicke <saschpe@gmx.de> | 2013-08-14 17:01:09 +0200 |
---|---|---|
committer | Sascha Peilicke <saschpe@gmx.de> | 2013-08-14 17:01:09 +0200 |
commit | 58649612430391d9cc4d67ab39e6c8ec26ddf817 (patch) | |
tree | 8ad9388b5e707d8d87e0fb87c9634fb43a638627 /numpy/doc/misc.py | |
parent | d62f11d7e149bf8406974093e5254200471d2745 (diff) | |
download | numpy-58649612430391d9cc4d67ab39e6c8ec26ddf817.tar.gz |
Explicitly set encoding to UTF-8 in postprocess.py
The default (ascii) encoding breaks:
python3.3 postprocess.py html build/html/*.html
Traceback (most recent call last):
File "postprocess.py", line 59, in <module>
main()
File "postprocess.py", line 27, in main
lines = process_html(fn, f.readlines())
File "/usr/lib64/python3.3/encodings/ascii.py", line 26, in
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in
2309: ordinal not in range(128)
Diffstat (limited to 'numpy/doc/misc.py')
0 files changed, 0 insertions, 0 deletions