[PerlChina] XML中文

Question wanliyou at gmail.com
Wed Aug 13 00:24:32 PDT 2008


2008/8/13 Fayland Lam <fayland at gmail.com>

>
> binmode STDOUT 是不中的,要去把原始的 $file 转为 utf8
> 否则得用 Encode 来转为 utf8
>

XML::Encoding /  Unicode::String?
perl做web的这么多,能不能给个例子?

也就是说自己读数据再encoding utf8,不用parseFile 用 parse/parsestring?

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


More information about the China-pm mailing list