Subject Encoding Bug??

Steve Freegard smf at F2S.COM
Sun Nov 20 13:16:47 GMT 2005


    [ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi All,

I think I've found a bug - but I'm not sure which piece of the jigsaw is
causing it.

On a message input to MailScanner with the subject header of:

Subject: =?GB2312?B?t7+12LL6z+7Ev76tvMPGwLzbytay4Q==?=

MailScanner's $message->{subject} at the 'Always Looked Up Last' stage
contains '1' - I've seen this happen on 39 messages out of 6,136
messages and I've only seen this on GB2312 and KOI8-R character sets.

Here are the full headers of an example message:

Return-Path: <�g>
Received: from sina.com ([221.219.134.109])
     by mail.xxx.com (8.13.1/8.13.1) with ESMTP id jAKCZSn5031525
     for <xxx at xxx.com>; Sun, 20 Nov 2005 07:35:55 -0500
Message-Id: <200511201235.jAKCZSn5031525 at mail.xxx.com>
From: "goutong at sina.com" <goutong at sina.com>
Subject: =?GB2312?B?t7+12LL6z+7Ev76tvMPGwLzbytay4Q==?=
To: xxx at xxx.com
Content-Type: text/html;charset="GB2312"
Reply-To: goutong at sina.com
Date: Sun, 20 Nov 2005 20:44:17 +0800
X-Priority: 3
X-Mailer: Microsoft Outlook Express 5.50.4133.2400

Any ideas??

Kind regards,
Steve.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list