文件以错误的编码加载:IntelliJ IDEA 中的“UTF-8" [英] File was loaded in the wrong encoding:'UTF-8' in IntelliJ IDEA
本文介绍了文件以错误的编码加载:IntelliJ IDEA 中的“UTF-8"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在问这个问题之前,我在StackOverflow上搜索了一个类似的问题:
解决方案
正如 Tarik 指出的,点击Reload in another encoding
,如果你想要UTF-8
编码,然后点击more
-> UTF-8
.
Before asking the question, I searched for a similar question on StackOverflow:
file was loaded in the wrong encoding: 'UTF-8' in android studio
But it did not give an explicit answer there.
My issue is that the project is downloaded from the network, and it is an eclipse project, I open it with IntelliJ IDEA, and get this issue:
解决方案
As Tarik point out, click the Reload in another encoding
, and if you want UTF-8
encoding, then click the more
-> UTF-8
.
这篇关于文件以错误的编码加载:IntelliJ IDEA 中的“UTF-8"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文