IntelliJ IDEA 编码格式设置为 UTF-8

在 IntelliJ IDEA 中将编码格式设置为 UTF-8

在 IntelliJ IDEA 中设置编码格式为 UTF-8 的步骤:

1. 打开“设置”(Windows/Linux:File > Settings;macOS:IntelliJ IDEA > Preferences)

2. 在“设置”中,转到“Editor > File Encodings”

3. 在“File Encodings”中,将“Default encoding for properties files”和“Default encoding for text files”都设置为“UTF-8”

4. 点击“Apply”和“OK”以保存设置

docx 文件大小:371.62KB