<p>I have an ongoing problem with the XML Content Editor not saving special characters. I have narrowed this problem down to a servlet filter. Recap as follows.</p>
<p>I find that if I save special character in the XML content editor, (for example the pound "£" character), the XML content editor seems to insert an extra character so the value stored becomes "£". However, I can successfully save special characters in the same XML file if I use "Edit Control Code".</p>

<p>Christian has kindly made several suggestions, such as setting the encoding property of the XML file to UTF-8. Sadly, setting the encoding property did not fix the problem.</p>
<p>Christian also suggested rolling back OpenCMS JSP files a former colleague had changed. So, I did a fresh install of OpenCMS and found that the problem disappeared.</p>
<p>Then I re-added a 3rd party servlet filter (mapped to JSPs) called MobilityFilter and found that the problem was back again. So, I concluded the issue was related to the servlet filter, not the former colleague's JSP changes.</p>

<p>I have used this 3rd party servlet filter in applications outside OpenCMS and the filter did not cause the same problem when saving special characters. </p>
<p>However, I cannot make the 3rd party servlet filter and OpenCMS work together to handle special characters. Furthermore, the 3rd party servlet filter is an integral component in our application, so removing it is not a solution.</p>

<p>Any suggestions? Thank you.</p>
<p>Regards Brett S</p>