Hello! I'm new and I hope this is the appropriate subforum to use.
I already tried the search (google as well as the internal search here) and couldn't come up with a solution to my problem.
My question is fairly simple:
I have a java program (Jacksum, you may find it
here) and I want to use a batch file to give a filename to that program.
I already found out that the complete filename has to be put into "", for spaces seem to break the string.
My input line now looks like this:
java -jar jacksum.jar -a crc32+md5 -x -w "X:\Programs\µSwitch x64" >> jacksum_liste.txt
The problem is that µ is not given to the program but instead it turns out to be an erratic symbol - of course no files are found then. I also have the feeling the symbol changes each time I start the batch (however that was under Vista, now it's Windows XP x64).
How can I solve this? Of course I could rename the path but this can't be done.
I suspect it has somehow to do with the codepage.
Java seems to use Unicode by default. Can I change this only in the program, that is before compiling it (is Java compiled?)? Or can I do it from outside? I tried -Dfile.encoding=cp850 , but this didn't work.
I tried to change the encoding of the batch file, but that didn't work too.
Thank you for your help!