From: Oleg Broytman Date: Tue, 18 Feb 2014 18:35:18 +0000 (+0400) Subject: Test header decoding X-Git-Tag: v2.3.5~9 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0942670476d26cd86f81ddafe58fb48edfc9a39e;p=mimedecode.git Test header decoding --- diff --git a/test/expected/msg_03.txt b/test/expected/msg_03.txt index 3934534..5643b4f 100644 --- a/test/expected/msg_03.txt +++ b/test/expected/msg_03.txt @@ -1,11 +1,12 @@ +From test Sat Feb 1 00:00:00 2014 Return-Path: Delivered-To: bbb@zzz.org Received: by mail.zzz.org (Postfix, from userid 889) - id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) + id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) Message-ID: <15090.61304.110929.45684@aaa.zzz.org> -From: bbb@ddd.com (John X. Doe) +From: John X. Dôe To: bbb@zzz.org -Subject: This is a test message +Subject: This is a tést message Date: Fri, 4 May 2001 14:05:44 -0400 diff --git a/test/input/msg_03.txt b/test/input/msg_03.txt index 02be8fa..5a1cc9c 100644 --- a/test/input/msg_03.txt +++ b/test/input/msg_03.txt @@ -4,9 +4,9 @@ Delivered-To: bbb@zzz.org Received: by mail.zzz.org (Postfix, from userid 889) id 27CEAD38CC; Fri, 4 May 2001 14:05:44 -0400 (EDT) Message-ID: <15090.61304.110929.45684@aaa.zzz.org> -From: bbb@ddd.com (John X. Doe) +From: John =?iso-8859-1?B?WC4gRPRl?= To: bbb@zzz.org -Subject: This is a test message +Subject: This is a =?utf-8?B?dGXMgXN0?= message Date: Fri, 4 May 2001 14:05:44 -0400