Topic: 属性文件的乱码怎么解决?

  Print this page

1.属性文件的乱码怎么解决? Copy to clipboard
Posted by: sunmoon
Posted on: 2003-09-08 09:44

setProperty(strKey, strValue);
store(os, "test.properties");

当strValue是文字时test.properties文件中就会出现类似prefname=\u5C90\u961C\u770C的串
如何让它正常写入文字呢
同样,读取的时候也会出现问题

2.Re:属性文件的乱码怎么解决? [Re: sunmoon] Copy to clipboard
Posted by: dissip
Posted on: 2003-09-09 15:24

读取的时候不会出现问题;相反,如正常写入文字,读取的时候也会出现问题

3.Re:属性文件的乱码怎么解决? [Re: dissip] Copy to clipboard
Posted by: mazalet
Posted on: 2003-09-09 16:25

asscii transfger

4.Re:属性文件的乱码怎么解决? [Re: sunmoon] Copy to clipboard
Posted by: sunmoon
Posted on: 2003-09-20 14:31

asscii transfger ?

能否举个例子

5.Re:属性文件的乱码怎么解决? [Re: sunmoon] Copy to clipboard
Posted by: mazalet
Posted on: 2003-09-20 15:28

native2ascii
IN JAVA/BIN PATH.

YOU CAN FIND HELP FROM JAVA DOC -------TOOLS


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923