what for to hardcode ?
python / web2py does everything transparently
>>> a=['un','deux','été','maçon']
>>> a
['un', 'deux', '\xc3\xa9t\xc3\xa9', 'ma\xc3\xa7on']
>>> 'été' in a
True
>>> print a[3]
maçon

Isn't it that python does the encode / decode transparently : from 'été' to 
'\xc3\xa9t\xc3\xa9' and back to 'été' for screen output
I can also do a database lookup based on the term 'été' so I don't 
understand what else should be encoded or decoded ?
It's true though I have little knowledge of Unicode

anyway thanks for the clarifications 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to