From 0942670476d26cd86f81ddafe58fb48edfc9a39e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 18 Feb 2014 22:35:18 +0400 Subject: [PATCH] Test header decoding --- test/expected/msg_03.txt | 7 ++++--- test/input/msg_03.txt | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5