为了更好的避免代码编写的乱码问题,安装idea后可以设置默认的编码。 File->setting->Editor->FileEncoding 转载于:https://www.cnblogs.com/mxchao/p/11154934.html