Commit 975af740 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-918: BOSH should use UTF-8 character set.

parent 148cd51a
...@@ -414,7 +414,7 @@ public class HttpBindServlet extends HttpServlet { ...@@ -414,7 +414,7 @@ public class HttpBindServlet extends HttpServlet {
byte b[] = new byte[1024]; byte b[] = new byte[1024];
int length; int length;
while (inputStream.isReady() && (length = inputStream.read(b)) != -1) { while (inputStream.isReady() && (length = inputStream.read(b)) != -1) {
buffer.append(new String(b, 0, length)); buffer.append(new String(b, 0, length, "UTF-8"));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment