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__), 'some.html')
        self.response.out.write(template.render(path,
template_values))
        self.response.headers['Content-Type'] = "text/html;
charset=iso-8859-2"
--
You do not have to remove the header's Content-Type from the html
document
for proper editing purposes in a html editor, but the line
self.response.headers['Content-Type'] = "text/html;
charset=iso-8859-2"
has to be added after rendering of your pages to replace previous
encoding.

Thanks!
P.O.


On 21 Cze, 17:29, Peter <pcsor...@gmail.com> wrote:
> Thx JZ writing into outputStream was the problem :)
>
> On jún. 21, 13:10, Jaroslav Záruba <jaroslav.zar...@gmail.com> wrote:
>
>
>
> > 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

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to