JDK-8001070 : sun.jnu.encoding get incorrectly set to US-ASCII
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 7u6
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: os_x
  • Submitted: 2012-10-17
  • Updated: 2013-04-09
  • Resolved: 2013-04-08
Related Reports
Duplicate :  
Files with unicode characters in file names (for instance "��" aren't supported. The same goes with some ordinary strings too. The international characters all gets converted to "?".

I've investigated the matter and it seems to only happen when running Java programs with the Jar launcher (i.e when double clicking jar files). The system property "sun.jnu.encoding" for instance gets incorrectly set to US-ASCII, while it should be set to UTF-8, and so it does when running the software using the command line in the java -jar jarFile format.
Duplicate of JDK-8003228

Also sounds a lot like JDK-7130915.

might be related to bug# JDK-7187821