I am working on a simple project in Eclipse in Scala-IDE. The project makes use of someone else's library (which comes in *.java
source files, not in a .jar
). The library source files contain numerous comments in Japaneese. I cannot compile the Scala project since for every such file I get an error like this one:
IO error while decoding D:\path\FileName.java with windows-1252 Please try specifying another one using the -encoding option
Seems like I did not have this problem when the project was in Java. Now I am migrating to Scala and that is what I am getting.. I do not want to delete all these comments, is there any way to make the compiler handle them? I have tried all kinds of encoding fixes starting from Preferences->Resources->Text file encoding
and ending with eclipse.ini
file encoding parameters...
I had a similar issue after I switched from linux to macosx
Eclipse default text file encoding was set to US-ASCII, to fix this:
(Eclipse Juno)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With