问题写得太模糊,不过<标题头的编码显然需要转换encoding>,显然是对的,xml解析器是通过这个来解析下面的字符的.把它换成对应的繁体编码试一下.如果你想动态的设计,那么只能通过程序来动态生成encode了.就是写xml.

解决方案 »

  1.   

    1.can convert a XML file which contains Simplified Chinese characters to another XML file with the same content but of Traditional Chinese Characters.
    2.will not change any ASCII content within the XML file.就是这个需求了
      

  2.   

    gb2312是简体中文,gbk包含了简体和繁体,BIG-5是繁体字符集
    你可以尝试一下这样转可否:
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("路径"), "转前编码"));
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("路径"), "转后编码"));
      

  3.   

    那么还有个问题。如何判断字符是big5?
    will not change any ASCII content within the XML file. 然后又如何判断哪些是ascii的。
      

  4.   

    这有必要判断吗???BIG-5就包含了ASCII
      

  5.   

    我配置了自己的jsp服务器  诚招jsp虚拟空间代理商  如果有兴趣可以加qq254672366