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

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

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

猜你喜欢

转载自www.cnblogs.com/chengjianxiaoxue/p/10162710.html
今日推荐