Get the default encoding of your computer : Encoding « File « Java Tutorial






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








11.28.Encoding
11.28.1.Get the default encoding of your computer