Re: [SMARTY] Encoding.

From: Date: Thu, 23 Nov 2006 11:51:25 +0000
Subject: Re: [SMARTY] Encoding.
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13595@lists.php.net to get a copy of this message
On Thu, Nov 23, 2006 at 09:37:46AM -0200, João Cândido de Souza Neto wrote: > If i do not put the meta tag it do not shows correctly but, when i put it, > in FF it shows correctly and put the string "" at the beginning of the This is a BOM (http://unicode.org/unicode/faq/utf_bom.html#22) so you tell the browser: "Here comes a Unicode Data stream". That's definitly not what you want if your encoding is ISO-8859-1. > page and in IE still without showing correctly. > > With the meta tag my FF gets ISO-8859-1 encode without it gets UTF-8. > > "Cameron Perry" <lists@filled.us> escreveu na mensagem > news:EF7E24C5-FAA5-436B-A596-18E3E3AD638E@filled.us... > Make sure you're able to track the encoding of your data at every step: > Source data -> Database -> output. > > In Firefox you can right-click the page and select "View Page > Info" (or the equivalent Portuguese), where it will tell you the > encoding of your page. Alternatively you can go to the "View" menu > and select "Character Encoding" , then select different encodings to > see maybe what's going on. Also make sure that you're sending the > proper headers/metadata from your templates. > > ~Cameron > > On Nov 22, 2006, at 7:50 AM, João Cândido de Souza Neto wrote: > > > 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 > > joao@curitibaonline.com.br > > (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

« previous php.smarty.general (#13595) next »