Do you know where your variables are? | |
PerlMonks |
Re: Parsing shift-jis XML with XML::TWIGby kettle (Beadle) |
on Aug 19, 2006 at 00:45 UTC ( [id://568290]=note: print w/replies, xml ) | Need Help?? |
You should check out the information on
Binmode: ( http://www.icewalkers.com/Perl/5.8.0/pod/func/binmode.html ) and probably the Encode module: http://www.ayni.com/perldoc/perl5.8.0/lib/Encode.html http://www.ayni.com/perldoc/perl5.8.0/lib/Encode.html In case you can read Japanese: http://www.fl.reitaku-u.ac.jp/~schiba/perl/perlEncoding.html It is possible to specify or guess the encoding of the file that you are working on, and these links should hopefully put you on the right track. I recently had a similar problem and the above listings led to the solution. However, it isn't precisely clear to me what your problem is: just parsing a japanese encoded page? viewing the results? Hopefully this is of some small help.
In Section
Seekers of Perl Wisdom
|
|