<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comentarios en: Quitar acentos y caracteres especiales en PHP</title> <atom:link href="http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/feed/" rel="self" type="application/rss+xml" /><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/</link> <description>blog personal</description> <lastBuildDate>Fri, 09 Jul 2010 21:47:25 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>Por: Gonzalo</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-438</link> <dc:creator>Gonzalo</dc:creator> <pubDate>Fri, 09 Jul 2010 21:47:25 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-438</guid> <description>me encontre con el problema de que si el texto que trataba tenia un guion en el por ej:
esto-es un ejemplo
me lo dejaba como
esto---es-un-ejemplopor lo que le agregue
$text = trim(str_replace(&#039;-&#039;, &#039; &#039;, trtolower($text)));reemplazo los guiones por espacios y hago un trim para sacar los que estan de más y después sigue como todo tu script :D</description> <content:encoded><![CDATA[<p>me encontre con el problema de que si el texto que trataba tenia un guion en el por ej:<br
/> esto-es un ejemplo<br
/> me lo dejaba como<br
/> esto&#8212;es-un-ejemplo</p><p>por lo que le agregue<br
/> $text = trim(str_replace(&#8216;-&#8217;, &#8216; &#8216;, trtolower($text)));</p><p>reemplazo los guiones por espacios y hago un trim para sacar los que estan de más y después sigue como todo tu script <img
src='http://bilson.cl/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>Por: Gonzalo</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-437</link> <dc:creator>Gonzalo</dc:creator> <pubDate>Fri, 09 Jul 2010 21:21:48 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-437</guid> <description>lo unico que le agrege fue un trim al comienzo
.. 		$text = trim(strtolower($text));para que quite los espacios adicionales!muy buena funcion, gracias</description> <content:encoded><![CDATA[<p>lo unico que le agrege fue un trim al comienzo<br
/> .. 		$text = trim(strtolower($text));</p><p>para que quite los espacios adicionales!</p><p>muy buena funcion, gracias</p> ]]></content:encoded> </item> <item><title>Por: Joan</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-419</link> <dc:creator>Joan</dc:creator> <pubDate>Wed, 30 Jun 2010 07:18:44 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-419</guid> <description>Después de dos horas de pruebas.Esta funcion@ de verdad.Gracias</description> <content:encoded><![CDATA[<p>Después de dos horas de pruebas.</p><p>Esta funcion@ de verdad.</p><p>Gracias</p> ]]></content:encoded> </item> <item><title>Por: Función para eliminar acentos en php</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-390</link> <dc:creator>Función para eliminar acentos en php</dc:creator> <pubDate>Wed, 16 Jun 2010 12:38:49 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-390</guid> <description>[...] una función que eliminase los acentos en php, y la mayoría no funcionaban, pero encontré esta en bilson, que aunque algo larga, funciona.function quitarAcentos($text) { $text = htmlentities($text, [...]</description> <content:encoded><![CDATA[<p>[...] una función que eliminase los acentos en php, y la mayoría no funcionaban, pero encontré esta en bilson, que aunque algo larga, funciona.function quitarAcentos($text) { $text = htmlentities($text, [...]</p> ]]></content:encoded> </item> <item><title>Por: Leandro</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-200</link> <dc:creator>Leandro</dc:creator> <pubDate>Wed, 14 Apr 2010 02:38:27 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-200</guid> <description>Me has salvado amigo!</description> <content:encoded><![CDATA[<p>Me has salvado amigo!</p> ]]></content:encoded> </item> <item><title>Por: jorgehaq</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-148</link> <dc:creator>jorgehaq</dc:creator> <pubDate>Sat, 27 Mar 2010 14:42:13 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-148</guid> <description>Super, eres un bacan. Lo implementare en mi aplicacion.</description> <content:encoded><![CDATA[<p>Super, eres un bacan. Lo implementare en mi aplicacion.</p> ]]></content:encoded> </item> <item><title>Por: junior</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-96</link> <dc:creator>junior</dc:creator> <pubDate>Tue, 02 Mar 2010 03:57:41 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-96</guid> <description>este tipo es un genio ! .... mis respetos maestro ! ...saludos desde lima peru</description> <content:encoded><![CDATA[<p>este tipo es un genio ! &#8230;. mis respetos maestro ! &#8230;saludos desde lima peru</p> ]]></content:encoded> </item> <item><title>Por: Jorge</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-50</link> <dc:creator>Jorge</dc:creator> <pubDate>Thu, 11 Feb 2010 17:48:24 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-50</guid> <description>muchas gracias artista</description> <content:encoded><![CDATA[<p>muchas gracias artista</p> ]]></content:encoded> </item> <item><title>Por: CHICHABEIBE</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-23</link> <dc:creator>CHICHABEIBE</dc:creator> <pubDate>Thu, 13 Aug 2009 10:54:15 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-23</guid> <description>&lt;p&gt;UNA PAVADA COMO LOS ACENTOS ME LLEVO TODA UNA MANIANA HASTA QUE ENCONTRE ESTO !!!&lt;br /&gt;
GRACIAS !!!&lt;/p&gt; </description> <content:encoded><![CDATA[<p>UNA PAVADA COMO LOS ACENTOS ME LLEVO TODA UNA MANIANA HASTA QUE ENCONTRE ESTO !!!<br
/> GRACIAS !!!</p> ]]></content:encoded> </item> <item><title>Por: Andrés</title><link>http://bilson.cl/blog/2008/05/quitar-acentos-y-caracteres-especiales-en-php/comment-page-1/#comment-22</link> <dc:creator>Andrés</dc:creator> <pubDate>Fri, 24 Apr 2009 08:23:15 +0000</pubDate> <guid
isPermaLink="false">http://bilson.cl/blog/?p=5#comment-22</guid> <description>&lt;p&gt;Después de dos días buscando y probando miles de funciones con replace, al fin una que funciona de verdad... Gracias.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Después de dos días buscando y probando miles de funciones con replace, al fin una que funciona de verdad&#8230; Gracias.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 9/22 queries in 0.100 seconds using disk

Served from: bilson.cl @ 2010-07-30 02:37:08 -->