Re: [SMARTY] Encoding.
[email protected] (messju mohr) Thu, 23 Nov 2006 12:51:25 +0100
| Newsgroups | php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> escreveu na mensagem > news:[email protected]... > 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 > > [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