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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.