Re: Subject encoding/decoding



----- Original Nachricht ----
Von:     Peter Vopatek <peter vopatek syvab se>
> Subject: =?iso-8859-1?Q? Din_serviceanm=E4lan?=
[snip]
> My question is: Is it a bug and if so, at which side ?
> (I have not checked in RFC's what is correct or not.)

This header is broken, i.e. there is a bug in the sending MUA.  Quoted from RFC 2047 [1]:

<quote>
2. Syntax of encoded-words

   An 'encoded-word' is defined by the following ABNF grammar.  The
   notation of RFC 822 is used, with the exception that white space
   characters MUST NOT appear between components of an 'encoded-word'.

   encoded-word = "=?" charset "?" encoding "?" encoded-text "?="

   charset = token    ; see section 3

   encoding = token   ; see section 4

   token = 1*<Any CHAR except SPACE, CTLs, and especials>

   especials = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "
               <"> / "/" / "[" / "]" / "?" / "." / "="

   encoded-text = 1*<Any printable ASCII character other than "?"
                     or SPACE>
</quote>

Cheers, Albrecht

[1] http://www.ietf.org/rfc/rfc2047.txt

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2



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