一般把编辑器设置为 utf-8
如下设置: file-->setting-->editor-->file encodings-->
intellij idea 编码设置(乱码问题)
原文:http://www.cnblogs.com/orac/p/6431102.html