@Test
public void testNoCharsetContentToString() throws Exception {

    final String content = constructString(SWISS_GERMAN_HELLO);
    final byte[] bytes = content.getBytes(StandardCharsets.ISO_8859_1);
    final BasicHttpEntity entity = new BasicHttpEntity(new ByteArrayInputStream(bytes), ContentType.TEXT_PLAIN);
    final String s = EntityUtils.toString(entity);
}