title: Is this the right way to change the charset of a String?
body: <p>Is this the right way to change the charset of a String?</p>
  
  <pre><code>String str = "helloworld你好世界"
  String str2 = new String(str.getBytes("GBK"), "UTF-8");
  System.out.println(str2);
  </code></pre>