[XML-SIG] PyExpat encoding

Andrew M. Kuchling akuchlin@mems-exchange.org
Thu, 1 Jun 2000 18:01:55 -0400


On Thu, Jun 01, 2000 at 02:53:32PM -0700, Greg Stein wrote:
>Eek. You're right. This can be determined at compile-time, so we can Do
>The Right Thing when building pyexpat. But things will be hosed if
>somebody drops in a libexpat.a that was compiled differently.

Is this something that should be reported to James Clark for fixing in
the next version?

>This still doesn't discount pyexpat from having a setting to do a decoding
>on the UTF-8 text and calling into Python with Unicode obs.

Good idea!  Would it be an argument to .ParserCreate(), or to the
.Parse[File]() methods of parser objects?

--amk