title: ISO-8859-1 character encoding not working in Linux
body: <p>I have tried below code in windows and able decode the message .But same code when i have tried Linux it's not working.</p>
  <pre><code>String message =&quot;Ã¶Ã¶Ã¶Ã¶Ã¶&quot;;
  String encodedMsg = new String(message.getBytes(&quot;ISO-8859-1&quot;), &quot;UTF-8&quot;);
  System.out.println(encodedMsg);
  </code></pre>
  <p>I have verified and could see the default character set in Linux platform  is UTF-8(Charset.defaultCharset().name())</p>
  <p>Kindly suggest me how to do same encoding Linux platform.</p>