title: java / Servlets / ISO-8859-1 instead of UTF-8
body: <p>I have <strong>set character encoding of the response to UTF-8</strong> by</p>
  
  <p><code>response.setCharacterEncoding("UTF-8");</code></p>
  
  <p>Despite that, on the client-side, several characters are broken. I had a look at the response's header in the browser tool, and i found out that the <strong>encoding was set to ISO-8859-1</strong>.</p>
  
  <p>How can i solve this issue? What is the underlying problem?</p>