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

 

 

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

 

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

 

posted on 2018-12-22 22:23  ligongda2006  阅读(814)  评论(0编辑  收藏  举报