Read a Update JSON in UTF-8 (#2978)

This commit is contained in:
Man of J authored and LexManos committed 2016-06-11 13:06:38 -07:00
1 parent 6a3b734801
commit 6da3250583
1 file changed
+1 -1
@@ -187,7 +187,7 @@ public class ForgeVersion
ComparableVersion target = null;
InputStream con = url.openStream();
String data = new String(ByteStreams.toByteArray(con));
String data = new String(ByteStreams.toByteArray(con), "UTF-8");
con.close();
FMLLog.log("ForgeVersionCheck", Level.DEBUG, "[%s] Received version check data:\n%s", mod.getModId(), data);