Re: [SMARTY] Re: Encoding.

"Jo?o C?ndido de Souza Neto" <[email protected]> Thu, 23 Nov 2006 09:47:06 -0200
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
I do not have any prefilter defined.

I shall put bellow an little example in which Smarty makes chamge.

In my .tpl file i have got:

<td class="top_texto">
    <a href="?modulo=conteudo&acao=informacoes">
        Central de Informa&ccedil;&otilde;es
    </a>
</td>

When Smarty compiles that and i look at the source code it becomes:

<td class="top_texto">
     <a href="?modulo=conteudo&acao=informacoes">
        Central de Informações
    </a>
</td>

How can i see, Smarty makes that change itself withou needing a prefilter.

"messju mohr" <[email protected]> escreveu na mensagem 
news:[email protected]...
> On Wed, Nov 22, 2006 at 03:07:06PM -0200, João Cândido de Souza Neto 
> wrote:
>> E.g: When my tpl file has "Informa&ccedil;&otilde;es" and it get compiled
>> become "Informações".
>
> Smarty does not do such a conversion by default. maybe you have a
> prefilter or output filter applied that affect your html entities?
>
>> Why it is done?
>>
>> Theres a way to avoid it?
>>
>> ""João Cândido de Souza Neto"" <[email protected]> escreveu na
>> mensagem news:[email protected]...
>> >I am using smarty in my system but i am facing a trouble.
>> >
>> > I must use ISO-8859-1 encode but it seems smarty do not work with.
>> >
>> > When i tried to view my system which is in portuguese i saw the follow
>> > difference:
>> >
>> > In firefox it shows: REMÉDIO PARA O GADO
>> >
>> > In IE it shows: REM?IOS PARA O GADO
>> >
>> > Anyone here know why?
>> >
>> > Thanks in advance.
>> >
>> > -- 
>> > João Cândido de Souza Neto
>> > Curitiba Online
>> > [email protected]
>> > (41) 3324-2294 (41) 9985-6894
>> > http://www.curitibaonline.com.br
>>
>> -- 
>> Smarty General Mailing List (http://smarty.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php 

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php