Idea 设置编码UTF-8 Idea中 .properties 配置文件中文乱码
一、设置编码
1、步骤: File -> Setting -> Editor -> File encodings --> 设置编码

二、配置文件中文乱码
1、步骤: File -> Setting -> Editor -> File encodings -> 勾选 " Transparent native-to-ascll conversion " 即可 。

本文介绍了如何在IntelliJ IDEA中设置编码为UTF-8,以防止.properties配置文件出现中文乱码问题。通过File -> Settings -> Editor -> File Encodings进行设置,并勾选'Transparent native-to-ascii conversion'选项,可以有效解决该问题。
一、设置编码
1、步骤: File -> Setting -> Editor -> File encodings --> 设置编码

二、配置文件中文乱码
1、步骤: File -> Setting -> Editor -> File encodings -> 勾选 " Transparent native-to-ascll conversion " 即可 。

324
352

被折叠的 条评论
为什么被折叠?