Make sure you include this header in your .py

 # -*- coding: utf-8 -*-

and in your html:

<meta charset="utf-8">



Héctor Menéndez R.
------------------------------


On Mon, May 2, 2011 at 09:43, Franck <[email protected]> wrote:

> Dear all,
>
> First, I apologize if the question was already asked.
>
> Some of my HTML templates include special characters like "€". All of them
> are UTF8-encoded.
>
> - In my development environment (Python 2.7, webpy 0.34), the templates
> render fine
> - In my production environment (Dreamhost, Python 2.5, same webpy), my code
> goes through a bunch of utf8-decode errors
>
> Any idea of what could cause such a discrepancy ?
>
> Thanks a lot !
> Franck
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "web.py" 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/webpy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to