Watt
Watt

Reputation: 3164

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.

Upvotes: 4

Views: 11684

Answers (2)

Grigory Kislin
Grigory Kislin

Reputation: 18030

Found it in File->Other Settings->Default encoding: http://ufasoli.blogspot.ru/2013/10/intellij-change-default-encoding-for.html

Upvotes: 3

Anton Arhipov
Anton Arhipov

Reputation: 6591

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

enter image description here

Upvotes: 8

Related Questions