Rem setting the default encoding on the command line java.exe "-Dfile.encoding=UTF-8" -jar myprog.jar