Use UTF-8 with IntelliJ

已回答

Hello everybody,
1) Where should I click to save all the WebApp files contained in src in the UTF-8 standard?
2) How do I check if a file outside of src is saved in UTF-8 and if it is not, how do I solve it?
3) How do I set IntelliJ to make sure it always saves any file in UTF-8?
Thank you

1

Hello,

Where should I click to save all the WebApp files contained in src in the UTF-8 standard?

It seems that there is no way to convert encoding in multiple files at once. Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-42296

How do I check if a file outside of src is saved in UTF-8 and if it is not, how do I solve it?

You can open the file in the editor and check the file encoding in the bottom-right corner of the window.

How do I set IntelliJ to make sure it always saves any file in UTF-8?

You can configure the project and global encoding under Settings/Preferences | Editor | File Encodings.

0

1) Ok, I left a notice, thank you very much.
2) Ok, you are absolutely right, thank you very much.
3) I need a clarification. Is configuration A, configuration B or configuration C better?
What is this extra tick for? When is it convenient to put it?

A

B

C

1

What is this extra tick for? When is it convenient to put it?

This option is needed to show national characters (those not defined in ISO 8859-1) in place of the corresponding escape sequences.

> Is configuration A, configuration B or configuration C better?

I think configuration C would be more convenient for you.

0

Thank you so much, great support, just like the software.

 

0

请先登录再写评论。