procmail
[Top] [All Lists]

ISO something in Subject

2004-10-22 06:27:46
Hello, 

I have excessive Filtering on my FileServer and runing into trouble
if I get Messages with Subjects like:

Subject: Norbert Nienebuck ist =?ISO-8859-2?Q?au=DFer_Haus=2E?=

Question:   How can I remove this Encoding-Shit ?

Curently I try something like:

:0 fh
* ^Subject:.*(ISO-8859)
| sed -e s/=?ISO-8859-*[0-9]?Q?// -e s/_/\ / -e s/=DF/ß/ -e s/=2E/./ -e s/?=//

It works, but is not flexible enough...


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>