[XML-SIG] Re: Problem with wddx marshaller

Fredrik Lundh fredrik at pythonware.com
Tue Jun 24 15:44:00 EDT 2003


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>






More information about the XML-SIG mailing list