in reply to Parsing XML with XML::Twig

Unfortunately, XML::Encoding doesn't support GBK(CP936) at this time, but it does support Big5. Encode::CN is what you want to use.

Replies are listed 'Best First'.
Re^2: Parsing XML with XML::Twig
by abhishes (Friar) on Jul 20, 2010 at 17:42 UTC
    So here is what I am going to do Open the file with normal means (without try to parse XML) and replace the term gbk with Big5 and then save the file with Big5 encoding. Then I will try to parse the file and this time it should succeed as Big5 is supported. Correct?