Hello,

I have in my controller simple input form:

form=FORM('Search user: ', INPUT(_name='search'), INPUT(_type='submit'))

When I submit character from other than first 128 char of ascii table (for 
example: ů,á..), output is this error:

Traceback (most recent call last):
  File "/home/web2py/gluon/restricted.py", line 227, in restricted
    exec ccode in environment
  File "applications/eden/compiled/views.development.patriks.html.py", line 
397, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 0: ordinal 
not in range(128)

<code object <module> at 0xbabcc1d0, file 
"applications/eden/compiled/views.development.patriks.html.py", line 1>

How can I fix this input? Thanks

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to