On Tuesday 30 August 2005 11:55, Adam Groszer wrote:
> Is there any way to fool the Z3 XML-RPC publisher to unmarshall
> strings *always* as unicode? I think the problem is that xmlrpclib
> tries to convert all strings to str, but in Z3, all strings should be
> stored as unicode. Even better that zope.schema enforces unicode also.
> So my exposed methods would start with converting all necessary
> parameters to unicode.
Darn, I pressed send to fast. I think you can register custom objects to
unmarshall the data. This custom object could handle the unicode issue for
you (I have not tried this yet though).
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list