Re: [PATCH] send-email: let sanitize_address_rfc822 do rfc2047 quoting
[Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>,
git@vger.kernel.org]
Uwe Kleine-König wrote:
> Without this patch I'm not able to properly send emails as I have a
> non-ascii character in my name.
> The former version tried to fix-up the real name part with double quotes
> if it includes a '.'. I removed this as rfc2047 can handle a dot, too.
Not nice. I'd rather use double quotes if rfc2047 is not needed.
It means:
- no quotes for us-ascii name, without '.'
- quotes for us-ascii name with '.' and perhaps other forbidden characters
like '"' or something
- full rfc2047 quoting if name contains characters outside us-ascii.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git