procmail
[Top] [All Lists]

Re: ISO something in Subject

2004-10-22 11:23:53
Am 2004-10-22 13:52:55, schrieb Klaus Johannes Rusch:
Michelle Konzack wrote:

This only "works" as long as the mail is encoded in ISO-8859-1, or the 
mailer somehow assumes ISO-8859-1 even if the specified encoding is 
US-ASCII.  If you want to eliminate the encoded headers you could 
transcode the whole message to UTF-8 and change the encoding header 
accordingly.

  ____( '/home/michelle/.procmail/FLT_rfc2047' )________________________
 /
| :0 fh
| * ^Subject:.*(ISO-8859-1|ISO-8859-15|WINDOWS-1252)
| {
|   :0 fh
|   | sed -e s/=?ISO-8859-1?Q?// -e s/=?ISO-8859-15?Q?// -e s/=?Windows-
| 1252?Q?//g 
| 
|   :0 fh
|   | sed -e s/?=//g -e s/_/ /g -e s/=27/'/g -e s/=2E/./g -e s/=3A/:/g -
| e s/=A0/ /g -e s/=DF/ß/g -e s/=E9/é/g
| }
 \______________________________________________________________________

This works curently...

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>