[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another issue: quoting



Roy Badami <roy@xxxxxxxxxxxxx> schrieb/wrote:
> Most software wants to treat the localpart as simply a sequence of
> characters (at least after dequoting) but it isn't defined that way.

To be quirks-compatible with software that does make a distinction  
between different forms of the same local-part, I'd recommend the  
following:

. Save the original form.
. Fully dequote/remove comments/extra whitespace before toUnicode
  and/or toASCII.
. If the output of toUnicode/toASCII is identical to the input, use the
  original form in step #1, otherwise use the output generated by the
  function.

Claus
-- 
http://www.faerber.muc.de/