We would like to know how to get the default encoding of your computer.
public class MainClass { public static void main(String[] a) { System.out.println(System.getProperty("file.encoding")); } }
The code above generates the following result.