diff --git a/README.md b/README.md index 8a9eb77..8d0c440 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ This project provides a Java client to manipulate Mikrotik routers using the rem ## Versions -**The current stable version is 3.0.2** +**The current stable version is 3.0.3** -Version 3.0.2 fixes a bug where file download and some other multi-line content results causes the API call to time out, rather than return a result. This was reported in #43 and fixed by #37. +Version 3.0.3 fixes a problem with the encoding of non-English characters when sending commands to RouterOS. See #40 for more details. ### Changes in version 3.0: @@ -37,7 +37,7 @@ Maven users can use the artifact from Maven Central with this dependency: me.legrange mikrotik - 3.0.2 + 3.0.3 ``` diff --git a/pom.xml b/pom.xml index f24e01c..3a90ed7 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ me.legrange mikrotik - 3.0.2 + 3.0.3 jar Mikrotik API Java Client Library diff --git a/src/main/java/me/legrange/mikrotik/impl/Util.java b/src/main/java/me/legrange/mikrotik/impl/Util.java index 4979929..3ade326 100644 --- a/src/main/java/me/legrange/mikrotik/impl/Util.java +++ b/src/main/java/me/legrange/mikrotik/impl/Util.java @@ -133,7 +133,6 @@ final class Util { * stream. */ private static void encode(String word, OutputStream out) throws UnsupportedEncodingException, IOException { -// byte bytes[] = word.getBytes("US-ASCII"); byte bytes[] = word.getBytes("UTF-8"); int len = bytes.length; if (len < 0x80) {