Commit a9a027bb authored by FpguDhk's avatar FpguDhk Committed by Melledy
Browse files

Fix the Chinese messy code problem.

parent 0690e231
......@@ -254,7 +254,7 @@ public final class Utils {
*/
public static String readFromInputStream(InputStream stream) {
StringBuilder stringBuilder = new StringBuilder();
try (BufferedReader reader = new BufferedReader(new InputStreamReader(stream))) {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(stream,"UTF-8"))) {
String line; while ((line = reader.readLine()) != null) {
stringBuilder.append(line);
} stream.close();
......
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