Re: Acentos y Ñ

From: Date: Mon, 30 Jul 2007 09:47:33 +0000
Subject: Re: Acentos y Ñ
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-61155@lists.php.net to get a copy of this message
On 5/17/07, Felipe Fernandez <DANIELFM@teleline.es> wrote: > > Me aparecen las vocales acentuadas y las ñ en mayúsculas cuando utilizo > las funciones htmlentities(strtolower($string)) > Ejempo > > $string = "ESTAMOS HASTA EL MOÑO DEL CALÓ"; > > echo htmlentities(strtolower($string)) -->> Estamos hasta el moÑo del calÓ > > Y eso se vé horroroso. Debo tener algo mal configurado, ¿que? > saludos Los locales de php. Tienes un truco rápido: strtolower(htmlentities($string)) echo 'Saludos'; -- Rafa Couto (caligari) mailto:rafacouto @gmail.com Linux user #99126 (http://counter.li.org)

« previous php.general.es (#61155) next »