Menu

#6 Set file eclipse file encoding according to OCS property.

open
None
9
2012-10-24
2008-04-03
No

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

Discussion


Log in to post a comment.