How to ask sax for the file encoding
Edward K. Ream
edreamleo at charter.net
Wed Oct 4 12:33:44 EDT 2006
> The encoding _is_ irrelevant, in the very moment you get unicode strings.
We shall have to disagree about this. My use case is perfectly reasonable,
imo.
> If you write out xml again, use whatever encoding suits you best.
What suits me best is what the *user* specified, and that got put in the
first xml line.
I'm going to have to parse this line myself.
Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at charter.net
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------
More information about the Python-list
mailing list