I'm developping a java application, and I get some problems with Output, files, console,
So about the files I figure out how to right using utf-8, but I can't figure out to set the encoding in the console.
This is a simple test that I use it in my eclipse, then I generate a jar, and I execute it using a .bat file.
public class Test {
public static void main(String[] args) {
System.out.println("Initialisée la procédure");
}
}
This is the result when I execute my Jar using this bat file:
"C:\Program Files (x86)\Java\jre7\bin\java" -Xms512m -Xmx512m -jar myapp.jar
cmd
Result:
InitilaisÚe la procÚdure
In my eclipse configuration I have in General --> Workspace, in Text file encoding UTF-8