Hi,
I have a wiki with content in Korean and English and is set in EUC-KR and our support forums are also set in EUC-KR. On the forums, we show a Newpages RSS feed from the wiki, however, its not displaying Korean characters right, and I suspect that the conflict is that the RSS feed is in UTF-8. Can someone please advise where the file is located for me to change the feed to EUC-KR?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Craig White wrote:
I have a wiki with content in Korean and English and is set in EUC-KR and our support forums are also set in EUC-KR. On the forums, we show a Newpages RSS feed from the wiki, however, its not displaying Korean characters right, and I suspect that the conflict is that the RSS feed is in UTF-8. Can someone please advise where the file is located for me to change the feed to EUC-KR?
MediaWiki only works in UTF-8 at this time.
Since RSS feeds are XML, and XML requires UTF-8 support, it's a strict requirement for anything that reads them to understand UTF-8.
It sounds like you either have a bad feed reader tool (which is unable to understand the input encoding of UTF-8) or a bad configuration of that tool (failing to perform conversion from the XML encoding to the output encoding that your other site uses).
I'd recommend looking at the configuration of that tool -- see if it has a configuration option for output encoding; and if it doesn't, try adding appropriate iconv() or mb_convert() calls to it.
- -- brion vibber (brion @ wikimedia.org)
mediawiki-l@lists.wikimedia.org