When I try the following in Java:
System.out.println(System.getProperty("file.encoding"));
I get cp1252
as the encoding.
Is there a way to know where this value is coming from? (Like Environment variables or something)
I would like to print the value of encoding on command prompt using some command like systeminfo on Windows XP.
I believe this encoding is set by the JVM so it wouldn't make sense to retrieve it from outside