Re: Acentos en tpl
| From: | Richard Quadling | Date: | Fri, 18 Mar 2011 10:34:59 +0000 |
| Subject: | Re: Acentos en tpl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311934@lists.php.net to get a copy of this message | ||
2011/3/17 Lorena Monroy O. <lorenamonroy@yahoo.com>:
> Hola a todos
> Tengo un formulario que tiene dos paneles (.tpl), el cual maneja variables que vienen de php
> con la funcion setVariable, pero en el panel del menu me carga las tildes correctamente y a la
> derecha me las carga como un rombo con interrogación. Manejo Firefox y probe cambiando la
> configuración de caracteres de UTF-8 a Occidental, pero a la izquierda se ve mal y a la derecha se
> ve bien.
> Si modifico en el codigo por ó ahi se ve bien, pero en otros combos no... como puedo hacer que
> en ese tpl se vea bien sin modificarlo desde el codigo.
> Gracias
>
> Lorenita Ing. Electrónica U. Bosque Ing. de Sistemas U. Bosque
> Especialista en Telecomunicaciones Móviles U.Distrital
>
>
>
Please use English.
But translated by GMail ...
"Hi all
I have a form that has two panels (. Tpl) which handles variables that
come setVariable php function, but I panel menu loads correctly and
the right accents to me like a diamond loaded with question marks.
Firefox and probe handling changing the charset of UTF-8 to Western,
but the left is wrong and right is right.
If I edit in the code or there is fine, but in other combos do not ...
as I can do that in the tpl look good without modification from the
code.
Thanks
Electronics Engineer Lorenita U. Systems Engineer Forest U. Mobile
Specialist Forest U. District
"
Are both TPL files encoded to use UTF-8? PHP will not convert the
encoding of a file automatically.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY