[pmwiki-users] RSS & UTF-8

XueDong.Huang xuedong.huang at gmail.com
Thu Nov 24 00:21:06 CST 2005

I have the same problem, and here I describe how I try to fix but no 
positive return yet.
The RSS link: http://www.bbc.co.uk/vietnamese/index.xml doesn't display 
well with my RSS Display using magpie package.
Look at the page:
http://www.pmwiki.org/wiki/Cookbook/RssFeedDisplay and see that the 
problem is marked as 'RED' (Unsolved yet ???)
Then following the help insite the page, I check the RSS link 
http://www.bbc.co.uk/vietnamese/index.xml with www.feedvalidator.org 
like this

The error was: Your feed appears to be encoded as "utf-8", but your 
server is reporting "US-ASCII".
OK, look at its help, it tells us to change the content type 'text/*' to 
'application/xml'. I then change the rss.php , line 114 from text/xml to 
application/xml or application/rss+xml

BUT it doesn't work.

Any help is welcome.

Mikael Nilsson wrote:

> It seems UTF-8 support is not implemented in rss.php...
> I've enabled xlpage-utf-8.php.
> After editing a few UTF-8 pages, I see strange things in the rss for 
> RecentChanges (description and title). Two-byte characters are encoded 
> as two separate HTML entities :-) The pages themselves look perfectly 
> fine.
> See http://kmr.nada.kth.se/wiki/Site/AllRecentChanges?action=rss
> Example: Ambjörn for Ambjörn.
> If I was familiar enough with PHP I'd fix it myself. It can't bee too 
> hard, can it? Or are there unknown complications?
> /Mikael
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com

More information about the pmwiki-users mailing list