`
keren
  • 浏览: 1558396 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

intellj idea 中文乱码的解决方案

阅读更多
http://www.kafeitu.me/tools/2013/03/26/intellij-deal-chinese-disorderly-code.html
特别是配置tomcat时,要加入,否则控制台输出会乱码
vmoption:
-Dfile.encoding=UTF-8


实在不行,就在环境变量里面加入 

export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics