On 5/16/07, voltron <[EMAIL PROTECTED]> wrote:
>
> Hi Steve, this is good information as it is a good workaround for the
> problem that I have been having with my Mako templates with
> Umlauts( see thread 
> http://groups.google.com/group/pylons-discuss/browse_thread/thread/4d278dee35c62519)
>
> I´m just worried that it seems like a hack and not the official way to
> set things in Pylons.
Maybe it is not officially declared in Pylons, but it is for sure the
correct way to set the encoding for a Python file, in general.

But working with UTF-8 and Unicode can sometimes be a real pain in
Python. I resorted to setting the site.py on all sites I manage to
UTF-8, but it is a very cumbersome solution.

Jens

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to