Runtime.exec() command with utf-8 characters
问题 I'm trying to execute Runtime.getRuntime().exec() command which contains polish characters. Command is cutted from the first polish letter. Instead of polish letter i'm getting "?". How can I set correct encoding to exec this command properly? Command which i'm using : execCommand("php /home/script/url param1 param2 param3) execCommand looks like : private String execCommand(String command) { String output=""; try { Process proc = Runtime.getRuntime().exec(command); BufferedReader read = new