[XML-SIG] PyExpat encoding

tpassin@home.com tpassin@home.com
Fri, 2 Jun 2000 08:29:29 -0400


Thank you, Paul, that clarified it for me.

Tom Passin

Paul Prescod wrote
> No, Expat is great at reading multiple encodings on input. The question
> is what you get on output. Basically, we can compile it to give us 8-bit
> or 16-bit output. 8-bit is expat's default (which is why it is Greg's
> preference). 16-bit is Python's default (which is why it is my
> preference).
> 
> I mean if Python has a Unicode object and we choose to encode Unicode
> text in hacked-up 8-bit strings then I think that there is something
> seriously awry somewhere in the system.