0

I have been using MagpieRSS to get feed from an xml file.XML file is in UTF-8 character encoding (language = 'ja,jp').

But after parsing the xml, Magpie returns garbage string not japanese characters.

How do I tell Magpie to return UTF-8 format to get the right japanese characters i need?

hakre
  • 193,403
  • 52
  • 435
  • 836
Jayson O.
  • 485
  • 1
  • 6
  • 20
  • 1
    `language = 'ja,jp'` *must **not** mnean* that the file is in UTF-8 character encoding . If you add the code and the URL of the RSS feed, I think your question will become more clear. – hakre Oct 25 '12 at 09:36
  • I got the answer. you can set magpierss encoding by changing `MAGPIE_OUTPUT_ENCODING` to `UTF-8`. Thanks anyway. – Jayson O. Oct 25 '12 at 10:03
  • 1
    Please add this as your answer. – hakre Oct 25 '12 at 13:46

0 Answers0