[XML-SIG] Re: Problem with wddx marshaller

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


Christian Scholz wrote:

> I am trying to read some data from a server in wddx format. This
> actually fails because it contains umlauts which IMHO shouldn't fail
> as long as the encoding is set right.

>   File "/opt/Zope/python/213/lib/python2.1/site-packages/_xmlplus/marshal/generic.py", line 409, in um_end_string
>     ds[-1] = str(string.join(ds[-1], ""))
> UnicodeError: ASCII encoding error: ordinal not in range(128)
>
> So is this a (maybe known) bug or am I doing something wrong?
> (might fix it if I'd know where to start..

what happens if you remove the str() call from line 409 of generic.py:

    ds[-1] = string.join(ds[-1], "")

</F>






More information about the XML-SIG mailing list