Browse Source

Pull request #6126: REPORT-60402 【主题获取】获取的酷炫蓝组件主题,名称乱码

Merge in DESIGN/design from ~STARRYI/design:REPORT-57806 to feature/x

* commit '793abc279b8df92e13b3ad366dc13e9dcd84dbd3':
  REPORT-60402 【主题获取】获取的酷炫蓝组件主题,名称乱码
research/11.0
starryi 3 years ago
parent
commit
bc11ed7c14
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/share/util/DownloadUtils.java

2
designer-form/src/main/java/com/fr/design/mainframe/share/util/DownloadUtils.java

@ -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) {

Loading…
Cancel
Save