public static Charset defaultCharset ()

Returns the default charset of this Java virtual machine.

The default charset is determined during virtual-machine startup and typically depends upon the locale and charset of the underlying operating system.

Returns:  A charset object for the default charset

Since:  1.5