This is a discussion on How to encode Text for UTF-8 for rss feed? within the PHP General forums, part of the PHP Programming Forums category; Hi, I'm dynamically creating UTF-8 .rss feeds... however, some of the data I'm using seems to have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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? |