-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set proper encoding for the source files #3
Comments
I have the same issue on mac, just converted the Main.scala file to UTF-8 with intellij and problem was solved. |
I think it has to do with the files being committed from a windows system. Sent via a mobile device.
|
Well, the problem is with line #30 ( |
I fixed this in #6 |
Thanks @cdshines. I also encountered this issue. Will check it out later and merge it. |
Hi -- I think the issue in this case is the cut-and-pasted text at Main.scala:30, specifically the use of the curly double-quotes: |
Sorry about the encoding issues. Some clumsy issues right there. Anyways. @cdshines fixed it and I merged it already. Thanks. Will close this issue. |
sbt compile outputs the following on an Ubuntu 64bits
[info] Loading project definition from /home/mea/Development/sandbox/textteaser/project
[info] Set current project to textteaser (in build file:/home/mea/Development/sandbox/textteaser/)
[info] Compiling 9 Scala sources to /home/mea/Development/sandbox/textteaser/target/scala-2.10/classes...
[error] IO error while decoding /home/mea/Development/sandbox/textteaser/src/main/scala/com/textteaser/summarizer/Main.scala with UTF-8
[error] Please try specifying another one using the -encoding option
[error] one error found
error Compilation failed
[error] Total time: 3 s, completed Oct 12, 2013 11:46:31 AM
The text was updated successfully, but these errors were encountered: