title: How set charset in a primefaces webapp?
body: <p>Let me share my unique disapointment with the primefaces 3.1, until now...
  I'm using a phew components in a RichFaces app, everthing fine when i realized an issue, some characters in my native language are displayed wrong, even UTF-8 charset being declared in all places i know it's required. </p>
  
  <p>The problem occur when is entered some special character like "São Paulo" in a  and submited the page. The data after submit is redisplays as "SÃÂ£o Paulo" </p>
  
  <p>I already tried the folowing work-around:</p>
  
  <p>1)Eclipse IDE : text file enconding option</p>
  
  <p>2)jsf files:</p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt; 
  </code></pre>
  
  <p>3)JBOSS server.xml:</p>
  
  <pre><code>&lt;Connector protocol="HTTP/1.1" URIEncoding="UTF-8" port="${jboss.web.http.port}" address="0.0.0.0" 
           redirectPort="${jboss.web.https.port}" /&gt;
  </code></pre>
  
  <p>4)web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>5)jsf file:</p>
  
  <pre><code>&lt;h:form acceptcharset="UTF-8" enctype="application/form-data"&gt;
  </code></pre>
  
  <p>6)upgrade the primefaces version to 3.2 </p>
  
  <p>Thanks for any help!
  ;-)</p>