[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nach Zeichensatz mit procmail filtern



On 07.Feb 2005 - 14:16:28, Til Schubbe wrote:
> * On 07.02. Michelle Konzack (linux4michelle@freenet.de) muttered:
> 
> > * ! ^Content-Type:.*charset=(ISO-8859-1|ISO-8859-15|USASCII)
>                                ^^^^^^^^^^1            ^^^^^^^2
> 1:
> Wobei hier ja ISO-8859-11, ISO-8859-12, ... ISO-8859-19 auch mit
> dabei sind. Also schreib mal sowas in der Art:
> 'ISO-8859-1([^0-9]|$)' - falls die Regex-Maschine von procmail damit
> klarkommt.
> 
> 2:
> Bitte 'US-ASCII'.
> 
> Außerdem kann es sein, daß der Charset in '"' steht.
> Als weitere Näherung schlage ich daher mal das hier vor:
> 
> ^Content-Type:.*charset="?(ISO-8859-1([^0-9]|$)|US-ASCII)

Da fehlt noch utf-8, ausserdem sagt keiner das die charsets gross
geschrieben werden...

Andreas

-- 
You're growing out of some of your problems, but there are others that
you're growing into.



Reply to: