scala plugin compile java source file with non-english comments report error on Mac
My project use sbt and play framework for Java.
I have some Chinese comments in my source file.My file encoding is UTF-8.
I set the encoding to UTF-8 in every place that I can find in IDEA.

When I build the project with make button in IDEA on my mbp, IDEA complains about ascii error.
But I can build the project in terminal with "sbt compile" command.
I also tried in Ubuntu, everything is fine.
After a while, I added this javac option in my build.sbt, IDEA works fine on my mbp.
javacOptions ++= Seq("-encoding", "UTF-8")
I doubt is the problem about Scala Plugin in IDEA?
Mac: OS X Yosemite 10.10.2
Ubuntu: 14.04
IDEA: 14.1.1(also tried in 14.0.3
scala plugin:1.4.15(also tried in 1.4)
sbt: 0.13.7
scala: 2.11.6
play: 2.3.8
my project is on github:
https://github.com/sunnykaka/d-shop
请先登录再写评论。