[XML-SIG] Re: [4suite] Python 1.5 support with PyXML 0.6.2/4Suite0.9.2

Andrew Kuchling akuchlin@mems-exchange.org
Fri, 17 Nov 2000 11:17:24 -0500


On Fri, Nov 17, 2000 at 11:14:07AM -0500, Thomas B. Passin wrote:
>The upshot seems to be this - provide a means for latin
>(8859-1 if I understand correctly) encoding if it's
>reasonably possible.  I don't think anything else needs to

1.6/2.0 certainly supports Latin-1 conversions:

kronos Python-2.0>./python
Python 2.0 (#80, Nov  1 2000, 15:56:36)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> ustr=u'…lections Canada'
>>> ustr.encode('utf-8')
'\303\211lections Canada'
>>> ustr.encode('latin1')
'\311lections Canada'

--amk