File.encoding in Eclipse and strange encoding problem in JavaSource UTF-8 files
While trying to deploy the package I have been deploying, a few problem arised yesterday.
We first had checked out a Web application.
Afterwards we set the default encoding to UTF-8 for a few files in the Window > Preferences > General > Content-Type > Text > JSP .
We also changed the encoding in the eclipse.ini file, adding the following line to the java command -Dfile.encoding=UTF-8 in the eclipse.ini
We had strange text where umlauts had been destroyed. The text was in UTF-8 in UTF-8 files in the JavaSource directory. By Debugging, we discovered that they were also called by UTF-8 JSP or UTF-8 Java Files.
The solution has been to check the Application again. Afterwards the text was displayed correctly
Subversion problem while checking files with same names with different Case
The other problem we had, was caused by two files having the same names but with different case: file.jsp and File.jsp. This caused some kind of conflict when checking the file out with subclipse.