[ale] ISO-8859-1 question

Joe Steele joe at madewell.com
Thu May 23 10:32:56 EDT 2002


Take a look at the following.  It governs the encoding 
of non-ASCII characters in mail headers:

http://www.rfc-editor.org/rfc/rfc2047.txt

--Joe

-----Original Message-----
From:	Jim Lynch [SMTP:jwl at sgi.com]
Sent:	Thursday, May 23, 2002 7:57 AM
To:	Ale
Subject:	[ale] ISO-8859-1 question

I'm trying to cut down on the amount of spam I'm getting before I ever
see it.  I seem to have gotten on a chinese list somehow and now I get a
whole bunch of what looks to be porn ads but with lots of chinese
characters.  I've filtered out most of them, but a few get through I
think because the subject line is somehow encoded.  The lines in
question look like:

Subject: =?ISO-8859-1?Q?

Followed by a bunch of nonsense.  Can anyone point me to a way to decode
the nonsense into ascii or whatever character set it might be?  

My filter counts the number of characters in the subject and from lines
that are greater than 0x7f.  If there are too many I ditch the message. 
The messages that come in with the ISO-8859 tag are somehow encoded so
there aren't any characters >0x7f.

Thanks,
Jim.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list