摘要: 方案 1、以gbk格式读取xml文件为字符串,替换xml声明为utf-8格式 2、将字符串编码成utf-8格式,直接解析 代码 结果验证: 阅读全文
posted @ 2018-06-30 23:43 Elephanyu 阅读(3019) 评论(0) 推荐(1) 编辑