当我在Java中尝试以下内容时:
System.out.println(System.getProperty("file.encoding"));
我得到cp1252编码.
cp1252
有没有办法知道这个价值来自哪里?(像环境变量或其他东西)
我想在Windows XP上使用systeminfo之类的命令在命令提示符下打印编码值.
java windows encoding cp1252
cp1252 ×1
encoding ×1
java ×1
windows ×1