Re: Open Issue: Splitting of local-part into labels and where?
[email protected] (Claus Färber)
| Newsgroups | gmane.ietf.imaa |
|---|---|
| Message-ID | <[email protected]> |
Adam M. Costello <[email protected]> schrieb/wrote: > Claus Färber <[email protected]> wrote: > [regarding the set of delimiters for subdividing local parts] >> I'm not quite sure about the quoting characters ``"'' and ``\''. If >> we apply toASCII/toUnicode after dequoting the local part, there's no >> reason to include them. > Sure there is. Consider: > From: foo bar <"foo\"bar\\"@example.org> > The dequoted local part is: > foo"bar\ So what? They're just ordinary characters like ``a'', ``b'' and ``c'' then. The quote characters are rarely used as separators. The dequoted local part ``foö"bär\'' could be encoded as ``xn--fo"br\-eua5l'', which could be quoted/included in a From header as ``"xn--fo\"br\\-eua5l" (comment allowed by RFC 822) @example.org''. For decoding, you would first decode the local part, apply toUnicode and then re-apply a quoting for display. Claus -- http://www.faerber.muc.de/