#!/bin/sh ###################################################### # # Test RFC2047 decoding the header in replgroupcomps # ###################################################### export LC_CTYPE=en_US.utf8 # create message with RFC 2047-encoded header msg=11 cat > $MH_TEST_DIR/Mail/inbox/$msg < Return-Path: test To: Some User Date: Fri, 29 Sep 2006 00:00:00 Subject: decode test This is decode test message. EOF repl -editor true -format -group -nocc me -nowhatnowproc $msg expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/Mail/draft cat > $expected < cc: Some User Fcc: +outbox Subject: Re: decode test Comments: In-reply-to =?utf-8?B?VMO2bSDDmHJsZXk=?= message dated "Fri, 29 Sep 2006 00:00:00." -------- Töm Ørley writes: > This is decode test message. EOF diff -u $expected $actual