Re: Filter out MS Word 'quotes' for RSS
| From: | D. Dante Lorenso | Date: | Wed, 26 Apr 2006 23:55:00 +0000 |
| Subject: | Re: Filter out MS Word 'quotes' for RSS | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234891@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
On Wed, April 26, 2006 4:45 am, Kevin Davies wrote: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. DanteObviously 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?