<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>
<div>Hi,</div>
</div>
<div>
<div>i'm using OpenCMS 8.5.1 and i created a webform with an email-formular in a jsp. Now a user fills one input field with an ampersand & and this will be displayed as & in the mail.</div>
<div>i assume that in the background the ISO-8859-1 charset is used, in which this & is not included.</div>
<div> </div>
<div>I've set these parameters in my jsp:</div>
<div> </div>
<div>- Head: <%@ page ... pageEncoding="UTF-8"%></div>
<div>- Formular: <form method="post" action="index.html" ... accept-charset="UTF-8"></div>
<div>- CmsSimpleMail: emailtosender.setCharset("UTF-8");</div>
<div> </div>
<div>In the right-mouse properties of the jsp i have the content-encoding: ISO-8859-1 and i can't change this, because then i get output-errors for german umlaute (ä,ü,ö) in my html and in the mail, too</div>
<div> </div>
<div>opencms-system.xml:</div>
<div>...</div>
<div> <defaultcontentencoding>UTF-8</defaultcontentencoding></div>
<div>...</div>
<div> </div>
<div>Is there any other tomcat, etc. resource file i have to know or does anyone have an idea?</div>
<div> </div>
<div>Thanks</div>
<div>a.</div>
</div>
</div></div></body></html>