Hi David.
I'm not an expert on the RFCs, but it might be related to the point (3)
from RFC2047's section 5 (Use of encoded-words in message headers):
http://tools.ietf.org/html/rfc2047.html#section-5
Show quoted text > (3) As a replacement for a 'word' entity within a 'phrase', for example,
> one that precedes an address in a From, To, or Cc header. The ABNF
> definition for 'phrase' from RFC 822 thus becomes:
>
> phrase = 1*( encoded-word / word )
Show quoted text > In this case the set of characters that may be used in a "Q"-encoded
> 'encoded-word' is restricted to: <upper and lower case ASCII
> letters, decimal digits, "!", "*", "+", "-", "/", "=", and "_"
> (underscore, ASCII 95.)>. An 'encoded-word' that appears within a
> 'phrase' MUST be separated from any adjacent 'word', 'text' or
> 'special' by 'linear-white-space'.
/jubk
On 05-01-2015 13:47, David F. Skoll via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=101299 >
>
> Hi,
>
>> When using quoted-printable encoding from MIME::Words the "@"
>> character is not encoded, leading to errors if the output is used in
>> for example an email subject header. This might be intended behavior,
>> but then it should probably be mentioned in the documentation.
>
> I don't see how this is a bug. According to RFC2045, the @ character
> does not need to be encoded:
>
>
> (2) (Literal representation) Octets with decimal values of
> 33 through 60 inclusive, and 62 through 126, inclusive,
> MAY be represented as the US-ASCII characters which
> correspond to those octets (EXCLAMATION POINT through
> LESS THAN, and GREATER THAN through TILDE,
> respectively).
>
> What error could it cause if used in the subject? I just don't follow.
>
> Regards,
>
> David.
>
--
Jørgen Ulrik B. Krag
Magenta ApS
Incuba, Åbogade 15
DK-8200 Aarhus N
tel +45 3336 9699
dir +45 5060 1268
http://www.magenta.dk/
jubk@magenta.dk