|
|
|
@ -147,7 +147,7 @@ public class DownloadUtils {
|
|
|
|
|
if (fileRes.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { |
|
|
|
|
HttpEntity entity = fileRes.getEntity(); |
|
|
|
|
|
|
|
|
|
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(entity.getContent())); |
|
|
|
|
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(entity.getContent(), StandardCharsets.UTF_8)); |
|
|
|
|
StringBuilder stringBuilder = new StringBuilder(); |
|
|
|
|
String line; |
|
|
|
|
while ((line = bufferedReader.readLine()) != null) { |
|
|
|
|