Skip to contentSkip to conversation

Accents and diacritics in mail headers

DISCUSSION Joaquin ALMAGRO 3 participants 3 messages Sep 3, 2006

lore
Share & tools
lore
#0 lore raw

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\
/( )\
^^-^^

#1 lore raw

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/
#2 lore raw
In reply to Joaquin ALMAGRO
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