Tell me more ×  See following code, in the main method:  String
PROP = args[0];  I am running the program in Eclipse. When
running the program, I added   into the program arguments.  Here
is the result:   Why it is false? How to add encoding when
loading a cmd arguments?  share|improve this question 2nd and
3rd line are not really relevant, am I right? –  MarianP Oct 12
'11 at 20:20 and 'arg' should really be 'args'? it this within
the main method? –  MarianP Oct 12 '11 at 20:21 You are right.
Post has been updated. –  performanceuser Oct 12 '11 at 20:55
add comment  1 Answer  Your shell should be able to parse those
command line arguments and pass it to the Java process using the
respective charset. Looks like your dos prompt isn't able to do
that.  share|improve this answer add comment  Your Answer