简体   繁体   中英

File was loaded in wrong encoding: UTF-8

I have been working on a project for over six months now when after an Android Studio upgrade, some of my files open with the error "File was loaded in wrong encoding: UTF-8".

POSSIBLE DUPLICATE:

In my case Android Studio does not show the wrong file contents, as in text from another file or from somewhere else, it shows the wrong encoding. I found a bug on the Google Issue Tracker that explains my problem. Google Issue . Have a look at the images attached to the bug for a clear explanation.

当我将 Android Studio 从版本 3.3.2 降级到 3.3.0 时,问题得到解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM