RSS Feed wih data in multi-byte character set.

Discussion in 'XML & RSS' started by cjmiller, May 7, 2006.

  1. #1
    I am using an RSS feed to dynamically update a server in Hong Kong with data from a server in the US.

    The server in HK displays its pages in simplified Chinese characters using the GB2312 character set. The server in the US holds data in a MySQL db in both standard ISO single byte charactesr and GB2312 multi-byte characters.

    When ever I include GB2312 characters in a data item the feed fails validation and if I ignore that creates an error when parsed by the Magpie rss reader.

    The XML file is just fine if I ftp that to my HK server I can access the GB2312 data with no problems.

    I have found one web article about this issue which claims that all these problems have recently been resolved but I am using the very latest versions of everything and can't get anywhere. I presently format the xml using ISO and translate to GB2312 in the read routine on the HK server. Thats not what I want to do long term.

    Has anyone managed to work this problem out. I would really appreciate being pointed in the right direction.

    Regards,

    Colin Miller
     
    cjmiller, May 7, 2006 IP