mavera2 Posted September 11, 2011 Share Posted September 11, 2011 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 ü ö. Quote Link to comment https://forums.phpfreaks.com/topic/246894-rss-feed-error-on-encodings/ Share on other sites More sharing options...
marcelobm Posted September 11, 2011 Share Posted September 11, 2011 A good place to start is to change the content to contain standard characters and see if it pass the validation. Quote Link to comment https://forums.phpfreaks.com/topic/246894-rss-feed-error-on-encodings/#findComment-1267933 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.