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

Reply via email to