diff --git a/engine/src/main/java/org/apache/hop/server/HopServer.java b/engine/src/main/java/org/apache/hop/server/HopServer.java index 24450295426..da5a904c3ec 100644 --- a/engine/src/main/java/org/apache/hop/server/HopServer.java +++ b/engine/src/main/java/org/apache/hop/server/HopServer.java @@ -89,6 +89,7 @@ import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; import java.text.MessageFormat; import java.util.Date; import java.util.HashMap; @@ -798,7 +799,7 @@ public String execService(IVariables variables, String service) throws Exception // Method is defined as package-protected in order to be accessible by unit tests String getResponseBodyAsString(InputStream is) throws IOException { - BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(is)); + BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8)); StringBuilder bodyBuffer = new StringBuilder(); String line;