I have a Java program that runs msinfo32.exe (system information)in an external process and then reads the file content produced by msinfo32.exe. When the Java program loads
You could try to use a library to guess the encoding, for instance I have once used this solution.