[PerlChina] XML中文

Question wanliyou at gmail.com
Tue Aug 12 20:35:20 PDT 2008


现在用这个
    use XML::Simple;
    my $xs1 = new XML::Simple;

    my $doc = $xs1->XMLin($file);

读入是正常的,但中文print出来就不对了,binmode(STDOUT, ":utf8")更不行。。。


-- 
>: ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20080813/e8a5a261/attachment.html>


More information about the China-pm mailing list