1、点击File,打开Settings… 2、找到Editor下的File Encodings,并在右测Defaule encoding for properties files选择编码值 扫码关注“Java学习资源”公众号领取金典视频学习资料,更有超多实用教程分享。