Re: [SQLObject] UnicodeEncodeError

2008-10-04 Thread Oleg Broytmann
On Sun, Sep 28, 2008 at 06:20:02PM +0200, Markus W. Barth wrote: > I have run into that before and can't remember how I got around it: > > UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' > > This is what I'm trying to do: > solicitud = model.Solicitud(lugar_nacimiento = > k

[SQLObject] UnicodeEncodeError

2008-09-28 Thread Markus W. Barth
I have run into that before and can't remember how I got around it: UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' This is what I'm trying to do: solicitud = model.Solicitud(lugar_nacimiento = kw['lugar_nacimiento'].decode('utf-8')) I have also tried solicitud = model.So