On Mon, Feb 22, 2010 at 02:57:54PM +0100, Ralf Hildebrandt wrote:

> Can anybody comment on this ugly "fix" for Umlauts in realnames?
> 
> # Already with Quotes ("=22") thus do nothing
> /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/  REPLACE From: 
> =?iso-8859-1?Q?=22$1=22?= <$2>
> # No quotes
> /^From: =\?iso-8859-1\?Q\?(.*)\?= <(.*)>$/  REPLACE From: 
> =?iso-8859-1?Q?=22$1=22?= <$2>
> 
> #becaus:
> #wrong   =?iso-8859-1?Q?Kr=FCger=2C_Stephanie?=
> #correct =?iso-8859-1?Q?=22Dr._med._Stefan_R=F6pke=22?=

The "wrong" form is RFC compliant. No quotes are required, because
they are not part of the value, they are part of the syntax for a
quoted-string encapsulation of the value inside the quotes. When using
RFC 2047 encoding, the encoded string is an RFC822 atom and does not
require any quotes.

The "correct" form is not RFC compliant.

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to