title: How to convert String encoded in windows-1250/Cp1250 to utf-8?
body: <p>As title say ...
  I read content from htto response</p>
  
  <pre> <code>
  
      InputStream is = response.getEntity().getContent();
      String cw = IOUtils.toString(is);
      byte[] b = cw.getBytes("Cp1250");
      String x = StringUtils.newStringUtf8(b);
      String content = new String(b, "UTF-8");
  
      System.out.println(content);
  
  </code> </pre>
  
  <p>I have tried plenty of variations. I am little confused about what are correct encoding constants used as strings. windows-1250 or Cp1250. UTF-8 or utf-8 or utf8? </p>