Merge branch 'redbud' of https://github.com/Caesar11/gStore into redbud

redbud
This commit is contained in:
lijing 2018-01-19 15:53:31 +08:00
commit 89a08fdb15
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class GstoreConnector {
//System.out.println("============================================");
// 定义 BufferedReader输入流来读取URL的响应
in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
in = new BufferedReader(new InputStreamReader(connection.getInputStream(), "utf-8"));
String line;
while ((line = in.readLine()) != null) {
//PERFORMANCE: this can be very costly if result is very large, because many temporary Strings are produced