BolexLiu/ReciteWords

Ubuntu下无法显示中文

Closed this issue · 3 comments

如图:

翻译历史记录的markdown里是正常的.

你看下当前代码右下角会有一个编码格式,是什么。

@BolexLiu 打扰了,已经解决了,是Idea的字体问题(

嗯,代码中已经转化过utf-8格式

                String json = EntityUtils.toString(resEntity, "UTF-8");
                Gson gson = new Gson();
                Translation translation = gson.fromJson(json, Translation.class);
                //show result
                showPopupBalloon(translation.toString());