What exactly is sun.jnu.encoding?

encoding, java

Solution

see http://happygiraffe.net/blog/2009/09/24/java-platform-encoding/

This link describes the usage of the `sun.jnu.encoding` property for using the correct encoding when parsing values passed via the commandline, something that setting the `file.encoding` property doesn't influence.

Problem

What is the purpose of the system property `sun.jnu.encoding`? Various fragments on the web set or report it, but I can't find a definition.

Original source

Related problems