Jump to content

RSS feed error on encodings


mavera2

Recommended Posts

I couldn't fix this issue for 3 three days, please help me..

 

code: http://trante.heliohost.org/devrss/yol2.php

source: http://trante.heliohost.org/devrss/yol2.txt

 

I want to create an RSS feed to put on my site but i couldn't add it to Google Reader etc.

I couldn't validate as well.

http://validator.w3.org/feed/

 

------------

 

I take variables from "rssdata.php" file.

I set one variable with $mytitle=$arrayPlainText[0];

encoding of $mytitle is ASCII.

 

I use XMLWriter class of php.

I set the encoding of xml file as UTF-8 in header.

When i open the file in my browser, it shows with no error,

but the source code of the output has characters like &#252  &#246.

 

Link to comment
https://forums.phpfreaks.com/topic/246894-rss-feed-error-on-encodings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.