首页 > 其他 > 详细

idea scala 报 with UTF-8 Please try specifying another one using the -encoding option

时间:2018-12-22 23:00:10      阅读:448      评论:0      收藏:0      [点我收藏+]

 

 

现象如下图, 代码里有汉字,执行代码报错,说编码格式不对,

技术分享图片

 

修改方式如上面,将右下角的编码格式修改成 u8即可。

 

idea scala 报 with UTF-8 Please try specifying another one using the -encoding option

原文:https://www.cnblogs.com/chengjianxiaoxue/p/10162710.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!