Found the solution, just make sure you are always using the unicode string 
something like u'xxxxx'.

On Thursday, May 3, 2012 9:33:22 PM UTC-7, Geo wrote:
>
> Hi forks,
>
> I'm getting "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
> position 0: ordinal not in range(128)" when I include Chinese character in 
> the chameleon template. I'm using the newest pyramid 1.3 with python2.7. 
> Any help?
>
> Thanks
>
> George Hu
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/rO3yIOj-FFUJ.
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