[Expat-discuss] 'ASCII encoding error' with encoding 'iso-8859-1'
Ken Ward
kward at orange.us
Tue Dec 14 23:58:38 CET 2004
Hello,
I'm using expat from Python 2.1.1 on RedHat Linux. I think it's expat
1.95.1, based on running 'strings' on the library.
I'm trying to parse a file with Latin-1 characters above 128. I set the
encoding to "iso-8859-1" in ParserCreate, but I get this error:
UnicodeError: ASCII encoding error: ordinal not in range(128)
Is this expected to work in that old version?
Thank you,
Ken Ward
More information about the Expat-discuss
mailing list