Java tutorial
public class MainClass { public static void main(String[] a) { System.out.println(System.getProperty("file.encoding")); } }