[XML-SIG] unicode data
Martin v. Loewis
Fri, 3 Nov 2000 01:49:17 +0100
> Today I upgrade from python 1.5.2 to 2.0. Needless to say, I'm working
> thought a few porting issues in my code. I noticed that after I create a
> DOM, the string data (attributes, text nodes) are all Unicode instead of
> strings. This is causing me a lot of problems, breaking function calls that
> require strings. Is there a way to get a Dom with non Unicode strings?
You'd need to use a driver that produces byte strings. I believe both
sgmlop and xmlproc will do at the moment (at least until they are
fixed to produce Unicode).
Out of curiosity: What specific problems are you encountering?