How do I find out the default character set for the JVM?

John Zukowski

Added to JDK 5.0, you can call the defaultCharset() method of the CharSet class, found in the java.nio.charset package. This is apt to depend upon the locale and character set of the underlying system.

About | Sitemap | Contact