Search code examples
fileintellij-ideafile-encodings

How to set default system file encoding in IntelliJ IDEA


I want IDEA to use whatever default system encoding is, instead it uses whatever is set through Settings > File Encodings. Which is set to UTF-8.

My application runs fine in Eclipse, which uses default system encoding on windows, but it is having trouble reading some xmi files when running the application through IDEA.


Solution

  • You can select system's default encoding from the same drop down:

    enter image description here