On Sun, Feb 5, 2012 at 11:26 AM, Vladimir Rutsky
<rutsky.vladi...@gmail.com>wrote:

> unicode(request.post_vars.foo, 'utf-8')
>

Use dictionary comprehension, in models 0.py do:

from gluon.storage import Storage
>
> request.post_vars = Storage({key: unicode(value, 'utf-8') for key, value
> in request.post_vars.items()})
>

-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to