[XML-SIG] Re: Problem with wddx marshaller

Giuseppe Bonelli giuseppe.bonelli at tiscalinet.it
Tue Jun 24 16:50:08 EDT 2003


You are absolutely right.

My apologies for too a quick reply and for having read the source too
superficially ( ... but having myself lately been struggling with a few
encoding problems I though I had the solution at hand).

Lesson taken !

--peppo

> -----Original Message-----
> From: xml-sig-bounces at python.org [mailto:xml-sig-bounces at python.org]On
> Behalf Of Fredrik Lundh
> Sent: martedì 24 giugno 2003 14.44
> To: xml-sig at python.org
> Subject: [XML-SIG] Re: Problem with wddx marshaller
>
>
> Giuseppe Bonelli wrote:
>
> > # might need to convert unicode string to byte string
> >
> > So, the DS is actually UTF-8 and not iso-8859-1.
>
> the comment says "Unicode", not UTF-8.
>
> Unicode is a character set, UTF-8 is an 8-bit encoding that can
> handle the entire Unicode character set.
>
> Python provides a Unicode string type that's used to hold Unicode
> strings; good practice is to stick to Unicode strings for anything
> that's not pure 7-bit ASCII, and convert only on the way in and
> out.
>
> </F>
>
>
>
>
> _______________________________________________
> XML-SIG maillist  -  XML-SIG at python.org
> http://mail.python.org/mailman/listinfo/xml-sig
>




More information about the XML-SIG mailing list