Accents and diacritics in mail headers
Hi,
It is difficult to persuade French people to avoid accents or diacritics in the mail's headers. But RFC 2822 rule is clear.
[snip-begin {W3C World Wide Web Consortium}]
-----------
"RFC 2822 specifies rules for forming Internet messages. It does not allow the use of characters with codes above 127 to be used directly (non-encoded) in mail headers (it also prohibits NUL and bare CR)"
-----------
[snip-end]
International "text" translations must AVOID the use of "national" characters in headers (Christophe ?). Risk : banned mail with BAD HEADER error code.
Perhaps a built-in procedure to remove all diacritics in header texts (Morten)?
.^.
/V\
/( )\
^^-^^
Hi Jan,
Quoted 2 lines · Joaquin ALMAGRO
It is difficult to persuade French people to avoid accents or diacritics in the mail's headers.
[snip]
Quoted 2 lines
International "text" translations must AVOID the use of "national" characters in headers (Christophe ?).
[snip]
Quoted 2 lines
Perhaps a built-in procedure to remove all diacritics in header texts (Morten)?
Oh sorry, they should be encoded (RFC 2047).
I have fixed the encoding and uploaded a new version:
http://www.afdelingp.dk/files/mlmmj-listtexts-fr.tar.gz
Morten
Signature · 2 lines
Morten K. Poulsen <[email protected]> http://www.afdelingp.dk/
Quoted 9 lines · Joaquin ALMAGRO
It is difficult to persuade French people to avoid accents or diacritics in the mail's headers. But RFC 2822 rule is clear.
[snip-begin {W3C World Wide Web Consortium}] ----------- "RFC 2822 specifies rules for forming Internet messages. It does not allow the use of characters with codes above 127 to be used directly (non-encoded) in mail headers (it also prohibits NUL and bare CR)" ----------- [snip-end]
Quoted 6 lines
International "text" translations must AVOID the use of "national" characters in headers (Christophe ?). Risk : banned mail with BAD HEADER error code.
Perhaps a built-in procedure to remove all diacritics in header texts (Morten)?
Honestly, that would be better performed in the MTA, ideally when the message is first received. That way a proper reject could be generated, rather than trying to munge the headers into compliance.
Signature · 4 lines
I used to think romantic love was a neurosis shared by two, a supreme foolishness. I no longer thought that. There's nothing foolish in loving anyone. Thinking you'll be loved in return is what's foolish. -- Rita Mae Brown