[opencms-dev] How to change the content-encoding property ?
Thomas Maerz
thomasmaerz at gmx.de
Thu Oct 14 10:47:39 CEST 2004
Xavier Ottolini <xavier.ottolini at adelis.com> writes:
> How to set the property "content-encoding" to UTF-8 by default for the
> JSPs?
,----[ com.opencms.file.CmsResourceTypeJsp ]
| // JSP content encoding default it "ISO-8859-1" by JSP standard
| cms.writeProperty(newResourceName, C_PROPERTY_CONTENT_ENCODING, CmsJspLoader.C_DEFAULT_JSP_ENCODING);
`----
Set CmsJspLoader#C_DEFAULT_JSP_ENCODING to "UTF-8", compile the class
and copy it to WEB-INF/classes/com/opencms/flex/.
Regards,
Thomas
More information about the opencms-dev
mailing list