[web2py] Re: Encode problem in response.cookies

2014-07-14 Thread Arthur Alves
but why are you storing information in cookies when not > in session? It is more error prone and does not add anything. Are you > disabling sessions for speed somehow? > > > On Friday, 11 July 2014 11:23:13 UTC-5, Arthur Alves wrote: >> >> Hello guys, >> >>

[web2py] Encode problem in response.cookies

2014-07-11 Thread Arthur Alves
Hello guys, I have a problem with response.cookies in web2py. Our project use encode utf-8 (Brazil). I have a cookie with people session name, but the cookie is set in browser like this "Ju\303\243o" instead "Juão". I try use encode('utf-8') in python, and unescape in javascript, and the result