UTF-8 by default
Since Java 18 the default character set of the JVM is UTF-8 on every operating system.
What Java 18 added to Java, with a definition and an example for each feature.
Since Java 18 the default character set of the JVM is UTF-8 on every operating system.