UTF-8 conversion?
Posted: Sun Dec 19, 2004 4:05 pm
I'm trying to make an RSS feed generator for my site. It is complete, except for this one problem. In the content, someone used an extended character. I have no idea how it got there. It's a 0x92 and it was used as an apostrophe.
In any case, this character is not legal for use in RSS feeds. Is there some function that can strip, or convert extended characters?
I used
But it didn't make a difference.
Thanks,
Mike
In any case, this character is not legal for use in RSS feeds. Is there some function that can strip, or convert extended characters?
I used
Code: Select all
echo htmlentities($buf,ENT_QUOTES,"UTF-8");Thanks,
Mike