Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 748
Watt Avatar asked Sep 13 '25 09:09

Watt


2 Answers

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

enter image description here

like image 141
Anton Arhipov Avatar answered Sep 14 '25 22:09

Anton Arhipov


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

like image 21
Grigory Kislin Avatar answered Sep 14 '25 22:09

Grigory Kislin