title: charset issue with XSS api in CQ5 , Ã being displayed as Ã�
body: <p>I'm using <code>com.adobe.granite.xss</code> for encoding strings in JSP. It seems to work with most characters, except for Ã. Ã is displayed as Ã�.</p>
  
  <p>It happens when using <code>xssAPI.encodeForHTML()</code> method. I have tried <code>&lt;cq:text&gt;</code> with <code>escapeXml="true"</code> and it has the same behaviour.</p>
  
  <p>The characters are stored properly in the repository and i have also set content="text/html; charset=utf-8" in the JSP.</p>
  
  <p>Is there a way to encode or filter the input for XSS without the charset breaking in such situations.</p>
  
  <p>I have tried it with different non-latin characters and most of them are not affected by XSS api.</p>
  
  <p><img src="https://i.stack.imgur.com/BuUTQ.png" alt="enter image description here"></p>