摘要:
通过代码System.getProperty("file.encoding") 可以获得file.encoding的值问题1:file.encoding的值是什么呢? 这个一开始我认为是操作系统的编码但我错了,它的值为保存每个程序的main入口的那个java文件的保存编码(点击文件-->属性-->text file encoding(other的值),这是使用eclipse 编译器)通过以下的代码即可证明:/** * Test.java源代码文件 */public class Test { public static void main(String[] arg 阅读全文
posted @ 2011-11-04 09:44
silentjesse
阅读(15407)
评论(6)
推荐(0)
浙公网安备 33010602011771号