LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 unset LC_CTYPE unset LC_NUMERIC unset LC_TIME unset LC_COLLATE unset LC_MONETARY unset LC_MESSAGES unset LC_PAPER unset LC_NAME unset LC_ADDRESS unset LC_TELEPHONE unset LC_MEASUREMENT unset LC_IDENTIFICATION unset LC_ALL unset CHARSET unset MM_CHARSET export LANG export LC_ALL cat >testsuite.dat <testsuite.dat <testsuite.dat < Subject: Example subject EOF echo "---" ./headercheck 0 "1.1" testsuite.dat <confmdtest ./makemime -c application/octet-stream -C utf-8 -N footest confmdtest ./makemime -c application/octet-stream -C utf-8 -N footest:1 confmdtest ./makemime -c application/octet-stream -C utf-8 -N f:::::::::::::::::::::::::1 confmdtest LANG=en_US.utf-8 ./reformime -h '=?iso-8859-1?Q?H=F3la!?= test =?iso-8859-1?Q?H=F3la!_?= =?iso-8859-1?Q?H=F3la!?= test' rm -f confmdtest cat >testsuite.dat <' LANG=en_US.utf-8 ./reformime -H '=?iso-8859-1?Q?H=F3la=22?= test ' LANG=en_US.utf-8 ./reformime -O 'Hóla , user@example.com (Hóla), John Smith , user2@example.com, "John Smith (Accounting)" , "Hóla Smith (Accounting)" , john smith ' LANG=en_US.utf-8 ./reformime -H '=?UTF-8?B?SMOzbGE=?= , =?UTF-8?B?SMOzbGE=?= , John Smith , user2@example.com, "John Smith (Accounting)" , =?UTF-8?B?SMOzbGE=?= Smith =?UTF-8?B?KEFjY291bnRpbmcp?= , john smith ' LANG=en_US.utf-8 ./reformime -H 'list: address1 , address2 ;' LANG=en_US.utf-8 ./reformime -O 'list: address1 , address2 ;' ./reformime -u < Subject: =?iso-8859-1?B?SOhsbG8=?= Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="aaa" Ignore this --aaa Content-Type: message/rfc822 Subject: embedded message Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bbb" Ignore this too --bbb Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable H=C2llo! --bbb-- --aaa-- EOF ./reformime -u </dev/null < 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170