public void testWriteSpecialCharacters() throws Exception {
String hello = SWISS_GERMAN_HELLO;
Header header = new HeaderImpl();
header.addField(DefaultFieldParser.parse("Hello: " + hello));
Field field = header.getField("Hello");
assertNotNull(field);
// field.getBody is already a 7 bit ASCII string, after MIME4J-151
// assertEquals(hello, field.getBody());
assertEquals(SWISS_GERMAN_HELLO, field.getBody());
ByteArrayOutputStream outstream = new ByteArrayOutputStream();
DefaultMessageWriter writer = new DefaultMessageWriter();
writer.writeHeader(header, outstream);