On Feb 7, 4:06 am, "[email protected]" <[email protected]>
wrote:
> Hi,
>
> this is a very begginer question.
>
> I use this code to render de template:
> path = os.path.join(os.path.dirname(__file__),
> 'contacto.html')
> self.response.headers["Content-Type"] = "text/html;
> charset=iso-8859-1"
> self.response.out.write(template.render(path, {}))
>
> I have one form where i am trying to input words like: Águeda,
> Açores, ... The code to get the words is:
> cidade = self.request.get('cidade')
>
> I think some problem related with charset is apenning because in de
> database the words are : gueda, A , ...
charset utf-8 will work. Portuguese gae i/o may require utf-8. As
portuguese i/o from html form with method=post and backend
thing.title = self.request.POST.get('title')
displays
http://www2.montao.com.br/14008/cmbio-mdulo-de-injeo-elet-e-motor-de-partida
Regards
Niklas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---