title: How to not transform special characters to html entities with owasp antisamy
body: <p>I use Owasp Anti samy with Ebay policy file to prevent XSS attacks on my website.</p>
  
  <p>I also use Hibernate search to index my objects.</p>
  
  <p>When I use this code:</p>
  
  <pre><code>String html = "special word: été";    
  
  // use the Ebay configuration file    
  Policy policy = Policy.getInstance(xssPolicyFile.getInputStream());
  
  AntiSamy as = new AntiSamy();
  CleanResults cr = as.scan(html, policy);
  
  // result is now : "special word: &amp;eacute;t&amp;eacute;"
  result = cr.getCleanHTML();
  </code></pre>
  
  <p>As you can see all chars "é" has been transformed to their html entity equivalent "<code>&amp;eacute;</code>"</p>
  
  <p>My page is on UTF-8, so I don't need this transformation. Moreover, when I index this text with Hibernate Search, it indexes the word with html entities, so I can't find word "été" on my index.</p>
  
  <p>How can I force antisamy to not transform special chars to their html entity equivalent ?</p>
  
  <p>thanks</p>
  
  <p>PS: an issue has been opened : <a href="http://code.google.com/p/owaspantisamy/issues/detail?id=99" rel="nofollow noreferrer">http://code.google.com/p/owaspantisamy/issues/detail?id=99</a></p>