Detailed Description:
System properties dont support non-latin1 characters
-- cant get current directory with non-latin1 characters
Try this program with non-latin1 argument.
---------
public class test {
public static void main(String args[]) {
System.out.println(System.getProperty(args[0]));
}
}
---------
for example,
java -Dtest=(non-latin1) test test
or
java -D(non-latin1)=aaaa test (non-latin1)
- duplicates
-
JDK-4049223 JDK does not convert kanji to unicode in system properties
-
- Closed
-