Recentemente estava fazendo uma aplicação em Java utilizando JSF
e passei pelo famoso problema de encoding. Depois de navegar bastante na internet, em listas de discussões e alguns chats com amigos, consegui resolver e achei um ótimo guia para procurar o problema nas aplicações:
- How is the form encoding the request (application/x-www-form-urlencoded or multipart/form-data)? Multi-part data will be decoded using a 3rd party MIME parser, so there is scope for trouble there. If the data is url-encoded, is it being escaped properly?
- What charsets is the browser accepting?
- What encoding is the server detecting? Is it a Unicode character set?
- Is it just the logging that is writing as a lossy encoding (e.g. MacRoman)? What default charset is the server using?
Fonte: http://stackoverflow.com/questions/863767/unicode-problem-with-jsf-and-html-formsTweet





