[PerlChina] 答复: XML中文

Beck Lam beckheng at sina.com
Tue Aug 12 19:43:53 PDT 2008


用XML::Parser

________________________________________
发件人: china-pm-bounces+beckheng=sina.com at pm.org [mailto:china-pm-bounces+beckheng=sina.com at pm.org] 代表 Question
发送时间: 2008年8月13日 10:35
收件人: china-pm
主题: [PerlChina] XML中文

Hi,
   现在想用perl解析一个asx(xml)文件,现在用XML::DOM发现不支持中文。
   文件大概是这样的:

<asx version = "3.0">
        <title>视频</title>
        <abstract></abstract>
</asx>

google了一圈没什么结果,自己用regex匹配太累。
各位有什么办法么?


-- 
>: ~


More information about the China-pm mailing list