We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec0265 commit 50cd6b1Copy full SHA for 50cd6b1
1 file changed
src/main/java/the/bytecode/club/bytecodeviewer/gui/components/HTMLPane.java
@@ -83,7 +83,7 @@ public static String convertStreamToString(InputStream is) throws IOException
83
if (is == null)
84
return null;
85
try (InputStream stream = is;
86
- Scanner s = new Scanner(stream).useDelimiter("\\A")) {
+ Scanner s = new Scanner(stream, "UTF-8").useDelimiter("\\A")) {
87
return s.hasNext() ? s.next() : "";
88
}
89
0 commit comments