Set file eclipse file encoding according to OCS property.
Brought to you by:
dave_schoorl
Hi Dave,
I am not sure if this already works but I experienced the following:
Eclipse 3.2.2, window->preferences->general->workspace: Text file encoding set to "Default" (cp1252 for windows). I fetched a module and had broken german umlauts (äüö).
This is not urgent: One can set the global file encoding to utf-8 and work with OpenCms. But it would be a nice feature to set the file encoding for files in eclipse according to the content - encoding in OpenCms:
ACmsObject.readPropertyObject(
aCmsObject, CmsPropertyDefinition.PROPERTY_CONTENT_ENCODING,
true).getValue(OpenCms.getSystemInfo().getDefaultEncoding())
kind regards,
Achim