On 4 May 2012 06:33, Geo wrote:
> 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?
You need to specify an enc
Found the solution, just make sure you are always using the unicode string
something like u'x'.
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 inc
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 beca