2013年5月26日 - 在使用dom4j生成xml文件时,如果设置编码为gbk,如下面的代码,则不会出现中文乱码OutputFormat format = OutputFormat.createPrettyPrint() ...
agehua.iteye.com