diff --git a/src/main/java/monero/daemon/MoneroDaemonRpc.java b/src/main/java/monero/daemon/MoneroDaemonRpc.java index 3e531da0..cc16b56a 100644 --- a/src/main/java/monero/daemon/MoneroDaemonRpc.java +++ b/src/main/java/monero/daemon/MoneroDaemonRpc.java @@ -129,6 +129,7 @@ public MoneroDaemonRpc(List cmd) throws IOException { // start process ProcessBuilder pb = new ProcessBuilder(cmd); + pb.environment().put("LANG", "en_US.UTF-8"); // scrape output in english pb.redirectErrorStream(true); process = pb.start(); diff --git a/src/main/java/monero/wallet/MoneroWalletRpc.java b/src/main/java/monero/wallet/MoneroWalletRpc.java index f1a50a4b..262fe10a 100644 --- a/src/main/java/monero/wallet/MoneroWalletRpc.java +++ b/src/main/java/monero/wallet/MoneroWalletRpc.java @@ -138,6 +138,7 @@ public MoneroWalletRpc(List cmd) throws IOException { // start process ProcessBuilder pb = new ProcessBuilder(cmd); + pb.environment().put("LANG", "en_US.UTF-8"); // scrape output in english pb.redirectErrorStream(true); process = pb.start();