intellij-ideaencodingproperties-file

In IntelliJ IDEA Ultimate, when creating a new project, the default encoding for properties files is ISO-8859-1. Can I change this?


Why does the default encoding for properties files revert to ISO-8859-1 when I create a new project (e.g., Java, Spring Boot), even after I change the default encoding set to UTF-8?"

enter image description here

Next time, when I create a new project, it will default to this.

enter image description here

Is there a way to change the default encoding setting for properties files?


Solution

  • You can set the default "Default encoding for properties files" setting in File | New Projects Setup | Settings for New Projects.