Re: Filter out MS Word 'quotes' for RSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch wrote:
On Wed, April 26, 2006 4:45 am, Kevin Davies wrote:
Obviously I need to convert these on entry, or on output into RSS.
Does anyone know of an easy way to do this, or is it a case of identifying
each unusual character individually?

You don't necessarily need to fix your input characters as much as you need to fix the output characters (characters you insert into your RSS feed).

If you used an extension like XMLWriter or DOM to build your XML document, much of the character encoding is handled for you and you can feel reasonably confident that the XML you create is UTF-8 encoded and escaped properly. With this approach, you never need to muck with entities.

Dante

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux