On Solaris 2.6 with ja_JP.PCK locale,
System.getProperty() can't get the property named by Shift-JIS characters from command line.
Please compile following program.
And run commands below.
%echo "Expect: �����������������������123"
%java -Dmy.prop=�����������������������123 SysProp my.prop
%echo "Expect: �����������������������123"
%java -D��������prop=�����������������������123 SysProp ��������prop
Shift-JIS property name is not recognized.
====== SysProp.java =============================================================
public class SysProp {
public static void main(String args[]) {
System.out.println(System.getProperty(args[0]));
}
}
=================================================================================