Hello Thomas,

TomasR a écrit :
> Thanks remi jolin.
>
> Who could believe it was  as simple as that.
>
> I'm quite new to Python, perhaps that is plausible excuse. :)
>
>   
Actually, I went through the same issues as in french we also have many 
diacriticals characters... It took weeks before I could understand how 
things worked especially when editing the same .py on a WXP or on a 
Linux box (2 different encodings by default)

So it seems to be a good practice to use unicode strings wherever you 
need a string (all strings constants should be u'xxx') and define the 
encoding you use at the beginning of each .py file.

Remi.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to