[Tutor] unicode mapping doesn't work
spir
denis.spir at free.fr
Thu Nov 26 18:55:23 CET 2009
Lie Ryan <lie.1296 at gmail.com> wrote:
> > funnychars = u"éèêëóòôöáàâäÉÈÊËÓÒÔÖÁÀÂÄ"
> > asciichars = "eeeeooooaaaaEEEEOOOOAAAA"
> >
In addition to Lie's reply, you will very probably need diacritic-free chars to be unicode, too. Otherwise prepare for later UnocideEn/De-codeError-s. As a rule of thumb, if you work with unicode thingies, make everything unicode in your whole program.
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/
More information about the Tutor
mailing list