View Single Post

  #2 (permalink)  
Old 06-17-2007
petersprc
 
Posts: n/a
Default Re: How to encode Text for UTF-8 for rss feed?

Try utf8_encode: http://www.php.net/utf8_encode

On Jun 15, 11:31 am, JonnyAJAX <jon.cianciu...@gmail.com> wrote:
> Hi,
> I'm dynamically creating UTF-8 .rss feeds... however, some of the data
> I'm using seems to have non UTF-8 characters.
>
> When I put it into a node I htmlspecialcharacters it but that doesn't
> really do much...
>
> The most problematic character is... » becomes â\x80º
>
> Is there a way to strip this out completly?



Reply With Quote