#!/bin/sh ###################################################### # # Test encoding headers according to RFC 2047 # ###################################################### . "$MH_TEST_COMMON" draft="$MH_TEST_DIR/mhbuild-$$.draft" export MM_CHARSET=UTF-8 # Subject cat >"$draft" < To: Somebody Subject: This is ä test This is a test ! runandcheck 'mhbuild "$draft"' </" "$draft"' < To: Somebody Subject: =?UTF-8?Q?This_is_=C3=A4_test?= MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: This is a test ! # To + From cat >"$draft" < To: Gönül Subject: Names with Umlauts This is a test ! runandcheck 'mhbuild "$draft"' </" "$draft"' < To: =?UTF-8?Q?G=C3=B6n=C3=BCl?= Subject: Names with Umlauts MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: This is a test !