de uma olhada no que eu achei thiaguinho

http://wiki.zope.org/zope2/HowToInternationaliseWithPTS
Fixing the character encoding

As of Zope 2.7, you must also set a Content-type HTTP header so that content
is published with the appropriate character encoding, otherwise accented
characters will tend to be displayed as junk. Here's how - note these
examples hard-code utf-8 everywhere.

In page templates (note the double semicolon):

     <head tal:define="dummy python:
      request.RESPONSE.setHeader('Content-Type','text/html;; charset=utf-8')





On 1/8/07, Joao Paulo Carusi <[EMAIL PROTECTED]> wrote:

Cara Thiaguinho,

Eu tive esse problema, mas com o DTML DOCUMENT

<dtml-call "RESPONSE.setHeader('Content-Type','text/html;
charset=UTF-8')">

Transforme esse codigo em Zpt, e ve no que da...

Abracos,
JP


On 1/5/07, Thiago M. Figueredo <[EMAIL PROTECTED]> wrote:
>
>    Opa galera blz?
> Ae to com um problema em relação a codificação de acentos no ZPT já
> tentei usar ISO-8859-1 e UTF-8 mais não rolou usei da seguinte forma:
> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
> e com o ISO-8859-1 e não rolo alguém já passo por isso?
> Ate mais, Muito Obrigado!
>
>
> ------------------------------------
> Thiago M. Figueiredo
> E-Mail: [EMAIL PROTECTED]
> Google talk: thiago.tfigueredo@ gmail.com
> MSN: [EMAIL PROTECTED]
> Skype: thiagunix
>
> http://output .zoping.com.br
> 'Open Source' o conhecimento é do mundo! :P
> Usar software proprietario R$ 450,00 com MasterCard, usar software livre
> não preço.... :D
>
> __________________________________________________
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/
>
> >


Responder a