Re: [Zope3-Users] XMLRPC Method with **kwargs

2007-12-14 Thread Jeremy Roberts
Michael Howitz wrote: Am 14.12.2007 um 01:29 schrieb Jeremy Roberts: Hello zope3 users! I'm using Zope-3.3.1, and I'm trying to expose a method via xmlrpc and I'm having trouble supporting a variable number of kwargs. My use case does not know ahead of time how many arguments will be passed t

Re: [Zope3-Users] TAL expression and ascii

2007-12-14 Thread Justin Fletcher
Top replying to my own post... I believe I figured out the problem. In my latest tests I was using unicode(variable, encoding="utf-8") for all of the variables _except_ the return of BeautifulSoup... I my haste I overlooked it... which is silly because I know BeautifulSoup returns UTF-8. After

Re: [Zope3-Users] TAL expression and ascii

2007-12-14 Thread Justin Fletcher
On Fri, 2007-12-14 at 12:23 +0200, Marius Gedminas wrote: > On Fri, Dec 14, 2007 at 01:20:52AM +0100, Justin Fletcher wrote: > > There's no magic. "Zope 3 strings are Unicode" is a convention, and > Zope makes it easy to follow by decoding all HTTP request strings into > Unicode objects. If

Re: [Zope3-Users] TAL expression and ascii

2007-12-14 Thread Marius Gedminas
On Fri, Dec 14, 2007 at 01:20:52AM +0100, Justin Fletcher wrote: > I am trying to migrate some data into the ZODB. I am storing this data > in a string, and later presenting the data in a ZPT similar to this: > > > > This works fine for text that does not have any characters outside of > the as