title: Encoding issue while uploading file with primefaces
body: <p>I have the same issue as <a href="https://stackoverflow.com/questions/546365/utf-8-text-is-garbled-when-form-is-posted-as-multipart-form-data">here</a>.</p>
  
  <p>I use primefaces 2.2 jsf implementation. I've tried all approaches, but works nothing. Is there another solution?
      When I try <code>new String (s.getBytes ("iso-8859-1"), "UTF-8");</code>,
  how can I know input encoding?</p>