> Both my python2.3 and python2.4 interpreters seem to know "Windows-1252":
>
import codecs
codecs.open("windows.xml", encoding="windows-1252")
>
>
> Maybe the problem lies in the python installation rather than
> cElementTree? Just guessing, though.
Hm. No idea why I was under the im
Diez B. Roggisch wrote:
> I've got to deal with a pretty huge XML-document, and to do so I use the
> cElementTree.iterparse functionality. Working great.
>
> Only trouble: The guys creating that chunk of XML - well, lets just say they
> are "encodingly challanged", so they don't produce utf-8, but
Diez B. Roggisch wrote:
> I've got to deal with a pretty huge XML-document, and to do so I use the
> cElementTree.iterparse functionality. Working great.
>
> Only trouble: The guys creating that chunk of XML - well, lets just say
> they are "encodingly challanged", so they don't produce utf-8, bu
Hi,
I've got to deal with a pretty huge XML-document, and to do so I use the
cElementTree.iterparse functionality. Working great.
Only trouble: The guys creating that chunk of XML - well, lets just say they
are "encodingly challanged", so they don't produce utf-8, but only cp1252
instead, togethe