Re: Question: Fullwidth double-quote and fullwidth backslash
Simon Josefsson <[email protected]>
| Newsgroups | gmane.ietf.imaa |
|---|---|
| Message-ID | <[email protected]> |
[email protected] (Claus Färber) writes: > Roy Badami <[email protected]> schrieb/wrote: >> When dequoting/requoting localparts, should we consider recognizing >> fullwidth double quotes and fullwidth backslash (and any other >> double-quote-like and backlash-like characters)? > > Just do a NFKC normalisation at the very beginning and then additinally > map U+3002 to U+002E. This will handle all of these special cases. Doing normalization before mapping goes against stringprep and results in different behaviour (see the "self reverting" test vectors on <http://www.gnu.org/software/libidn/draft-josefsson-idn-test-vectors.html>). I'm not saying your idea is a bad one, I think it is another indication that IMAA cannot be a simple stringprep profile.