title: Java mail charset ISO-8859-2 not working
body: <p>I am having problem with Java Mail API. </p>
  
  <p>I can successfully send mail, but some special characters (from ISO-8859-2 languages like czech, slovak) are not shown in mail. They are damaged even in IDE output.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>Message msg = new MimeMessage(session);
  msg.setContent(message, "text/plain; charset=iso-8859-2")
  </code></pre>