Default file encoding on Win 10

Answered

Can somebody tell me please why IntelliJ IDEA has default encoding set to windows-1252 on Win 10? I have a project before the end and now I found out that files are in this stupid encoding? WHY????

 

0
5 comments

You can change it in File | Other Settings | Settings for new projects.

0

No I cant. I tried it few times but is is still on windows-1252 Who came with this idea? I am afraid it will have problem with asserting utf8 text on the pagees...

0

Just verified that it works. Changed the default settings, created the new project, project encoding for the new project is UTF-8. Please share the video showing the steps you perform and the results.

0

You can also change the default encoding by adding -Dfile.encoding=UTF-8 in Help | Edit Custom VM Options, then restart IntelliJ IDEA.

0

Hmm now it works. I swear I tried it few times before and it was still on the windows-1252. Thanks. My bad.

0

Please sign in to leave a comment.