How to set default system file encoding in IntelliJ IDEA

Watt picture Watt · Aug 28, 2012 · Viewed 10k times · Source

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.

Answer

Anton Arhipov picture Anton Arhipov · Aug 28, 2012

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

enter image description here