Source code for: /alkacon-documentation/examples_flex_3/enc_test4.html
<%@ page pageEncoding="UTF-8" %><%--
--%><%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %><%--
--%><cms:include property="template" suffix="" element="head" />
<pre>
ä ö ü
Ä Ö Ü
ß ß ß
+ + +
</pre>
<p>
This page should display a set of german umlauts and plus signs.<br>
The encoding is set on the JSP using the in the <%@ page pageEncoding="UTF-8" %> JSP directive,
and also in the "content-encoding" property of the file, which is also set to "UTF-8".
</p>
<p>
<b>Note:</b>
This page actually might display garbage characters, depending on your default encoding setting.
This does not affect the usability of JSP in general, in case you require UTF-8 encoding with your JSPs
you should set the default encoding of the OpenCms installation to "UTF-8" in the <code>opencms.properties</code>.
</p>
<cms:include property="template" suffix="" element="foot" />