On Nov 24, 3:00 pm, Amir Michail <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using webapp with the following: > > self.response.headers['Content-Type'] = 'text/html; charset=utf-8'
This problem can be fixed like this: self.response.out.write(unicode( template.render(path, template_values),'utf-8' )) Amir > > But it's using cp1252 instead: > > c:\python25\lib\encodings\cp1252.py in decode > (self=<encodings.cp1252.Codec instance at 0x00D37BC0>, input=<read- > only buffer ptr 0x02050534, size 40 at 0x023C44C0>, errors='strict') > 13 > 14 def decode(self,input,errors='strict'): > 15 return codecs.charmap_decode > (input,errors,decoding_table) > 16 > > What am I doing wrong? > > Amir --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
