When changing the project to UTF8 every time a request is made without ajax, for example:
<h:commandButton value="Salvar" styleClass="espacoBotao" action="#{tratamentoBean.editarTratamento(loginBean.usuario.siape)}"/>
If I save the data from this button without ajax the words that have accent are lost, but if I put with ajax from richfaces for example:
<a4j:commandButton value="Salvar" styleClass="espacoBotao" action="#{tratamentoBean.editarTratamento(loginBean.usuario.siape)}"/>
The object is saved with the accent correctly.
Would anyone know if such a problem occurring when submitting a request (Search, Edit and Register) is normal and corrected by placing ajax? Or have another solution