Wrong encoding of library sources

Answered

In a maven project with some dependencies I click on "Download Sources" of such a dependency, mainly in order to read the javadoc. The library sources are encoded in ISO-8859-1 but intellij decodes them as UTF-8 with missing german umlauts. I cannot change the file encoding in the status bar because the button is disabled. I also haven't found a way to change the encoding in the project settings dialog. 

0
3 comments

All the encoding settings could be found under **Preferences | Editor | File Encodings**

0

If I add the ...sources.jar as a new item in "Editor | File Encodings" it says "UTF-8 (IS_BINARY)" in the "Encoding" column. And the encoding is not editable in this case.

0

Please sign in to leave a comment.