[XML-SIG] Re: HTML<->UTF-8 'codec'? - correction

David Primmer dave@primco.org
Thu, 7 Mar 2002 16:57:52 -0800


I should have known this wouldn't look right when displayed in the
pipermail archives. 

This line:

>>> print 'I&rsquo;ve had'.decode("html-utf-8")
I=E2=80=99ve had


Should look like a there's a right single quotation mark instead of
"=E2=80=99"

Same goes for this line:

>>> print 'I=E2=80=99ve had'.encode("html-utf-8")
I&#226;&#128;&#153;ve had

Also, I'm not sure why in the lines with "f=3Dopen" the archive software
stuck a "3D" in. It should be "f=open" of course.

Is there any hope for Unicode?

Thanks again.

davep