If you call unicode() on unicode object such weirdness will happen. Position 0 suggests it's a very beginning of the text. Open index.html with hex editor and look for e3 byte value.
On 3 Lut, 22:54, Scott <[email protected]> wrote: > Hello, > > I'm seeing the following message when trying to render a template > using Unicode characters: > > UnicodeDecodeError at /index.html > 'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in > range(128) > > I have both these settings using Unicode: > > DEFAULT_CHARSET = 'utf-8' > FILE_CHARSET = 'utf-8' > > As well as the meta in the header: > > <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> > > Finally, I have verified that the django.po files are properly encoded > as UTF-8 (they don't make it through the 'compilemessages' command if > they are not). > > I'm not sure how Django is getting the idea that it should use an > ASCII codec, any ideas how I could get these templates rendering > correctly would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
