We have some trouble with the determination of the file encoding for some file types.
Some files use the container settings, some other use the content type settings.
Example:
We changed our workspace text file encoding to default UTF-8.
(Preferences > General > Workspace > Text file encoding)
One of our projects is ISO-8859-1 so we changed it in the project configuration.
(Project > Properties > Resource > Text file encoding)
We changed all Content-Types to blank, so that the encoding is taken from the container.
(Preferences > General > Content Types)
For some file types we couldn’t change the default encoding to blank. Why??
These files determine the encoding from the content type settings (HTML, XML, CSS, JSP, JAVA PROPERTIES etc.)
Is it possible to have the same behavoir like *.txt files or *.sql etc, so the default is blank and it determine the file encoding from the container. in our case from the project because of project specific settings.
Environment:
MyEclipse 10.6
Windows 7 (GERMAN)