[google-appengine] Re: Response character encoding

2010-08-06 Thread Paweł Olejnik
Hello, this is my first post to the group! Thanks for help, I have corrected my polish language page coding succesfully. I have practised the above in the python code of a view class: def get(self): template_values = { } path = os.path.join(os.path.dirname(__file__),

[google-appengine] Re: Response character encoding

2010-06-21 Thread Peter
Thx JZ writing into outputStream was the problem :) On jún. 21, 13:10, Jaroslav Záruba wrote: > Sometimes I do the silly mistake of writing into outputStream instead of > writer: > response.getOutputStream.print(myCharacterData); // obviously ignores > charset > response.getWriter().print(myChara

Re: [google-appengine] Re: Response character encoding

2010-06-21 Thread Jaroslav Záruba
Sometimes I do the silly mistake of writing into outputStream instead of writer: response.getOutputStream.print(myCharacterData); // obviously ignores charset response.getWriter().print(myCharacterData); Maybe...? :) Cheers JZ On Mon, Jun 21, 2010 at 10:28 AM, Peter wrote: > Thx but i allrea

[google-appengine] Re: Response character encoding

2010-06-21 Thread Peter
Thx but i allready added response.setContentType("text/html; charset=UTF-8"); response.setCharacterEncoding("UTF-8"); Local deploy is OK only deploying to app engine is wrong. On jún. 19, 17:56, djidjadji wrote: > You have to set the correct HTTP response header. In Python code > > self.response.