[web2py] Re: UnicodeEncodeError on GAE

2013-04-08 Thread Massimo Di Pierro
Can you please give me more details and a simple example to reproduce it? Is this on GAE only? Still a problem with 2.4.6? On Monday, 8 April 2013 00:57:17 UTC-5, Spring wrote: Encountered the same issue, removing 'str()' and it worked. Thanks 在 2012年2月16日星期四UTC+8下午10时59分28秒,sherdim写道: I

[web2py] Re: UnicodeEncodeError on GAE

2013-04-07 Thread Spring
Encountered the same issue, removing 'str()' and it worked. Thanks 在 2012年2月16日星期四UTC+8下午10时59分28秒,sherdim写道: I Think it is a bug as for 1.99.4 When a form tries to keep values w/ non ascii characters if form.accepts(request.vars,session, formname=sP, keepvalues=True): File

[web2py] Re: UnicodeEncodeError on GAE

2012-02-16 Thread sherdim
I Think it is a bug as for 1.99.4 When a form tries to keep values w/ non ascii characters if form.accepts(request.vars,session, formname=sP, keepvalues=True): File C:\a\w2p\gluon\html.py, line 1801, in accepts status = self._traverse(status,hideerror) File C:\a\w2p\gluon\html.py,

[web2py] Re: UnicodeEncodeError on GAE

2012-01-18 Thread Massimo Di Pierro
What line? On Jan 17, 10:16 pm, ttsujie ttsu...@gmail.com wrote: First I don't know that it's need to update default version setting after update version at app.yaml. After update default version, that go good. I'm sorry for lack of my GAE knowlege. (I'm ashamed..) Anyway if someone

[web2py] Re: UnicodeEncodeError on GAE

2012-01-17 Thread howesc
try decode instead of encode (the string is encoded in utf-8 and you are trying to decode): mystr.decode(utf-8) it was a different but similar problem that i had on GAE that i solved this way. good luck! cfh

[web2py] Re: UnicodeEncodeError on GAE

2012-01-17 Thread ttsujie
Thank you for replay. I tried, but the same error message. (app_devserver NG, GAE NG) I think it's strange that error message is UnicodeEncodeError, is not UnicodeDecodeError... On 1月18日, 午前7:44, howesc how...@umich.edu wrote: try decode instead of encode (the string is encoded in utf-8 and

[web2py] Re: UnicodeEncodeError on GAE

2012-01-17 Thread ttsujie
First I don't know that it's need to update default version setting after update version at app.yaml. After update default version, that go good. I'm sorry for lack of my GAE knowlege. (I'm ashamed..) Anyway if someone encounter the same problem, this thread is useful. (I'm not sure this is the