playframework - "IO error while decoding Routes.scala with UTF-8" when compiling Play Framework project -


when compile project, console show:

[error] io error while decoding routes.scala utf-8,please try specifying 1 using -encoding option"

what might reason error?

you might have smart quotes or other microsoft specific encoded characters in routes file. can happen if copy , paste microsoft word document or web file. “ or ” or apostrophe characters curl 1 way or another. replace them in programmer's text editor regular straight quotes , single quotes.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -