git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] send-email: let sanitize_address_rfc822 do rfc2047 quoting
Date: Mon, 06 Aug 2007 02:21:35 +0200	[thread overview]
Message-ID: <f95pie$8lv$1@sea.gmane.org> (raw)
In-Reply-To: 11863445481996-git-send-email-ukleinek@informatik.uni-freiburg.de

[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.

Nice.

> 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

  reply	other threads:[~2007-08-06  0:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05 20:09 [PATCH] send-email: let sanitize_address_rfc822 do rfc2047 quoting Uwe Kleine-König
2007-08-06  0:21 ` Jakub Narebski [this message]
2007-08-06  8:33   ` Uwe Kleine-König
2007-08-06 20:34     ` [PATCH] send-email: teach sanitize_address to " Uwe Kleine-König
2007-08-09 12:10       ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f95pie$8lv$1@sea.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).