unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: emacs-devel@gnu.org
Subject: Re: smtpmail support of unicode passwords
Date: Mon, 14 Apr 2014 16:57:02 +0200 (CEST)	[thread overview]
Message-ID: <20140414.165702.532163717353694063.hanche@math.ntnu.no> (raw)
In-Reply-To: <jwv8ur85aw1.fsf-monnier+emacs@gnu.org>

[Stefan Monnier <monnier@IRO.UMontreal.CA> (2014-04-14 12:55:17 UTC)]

> > My reading if the relevant RFCs is that UTF-8 must be used, but I'm no
> > expert in this area.
> 
> Oh, so it's actually standardized?  Wonderful, utf-8 it is then, much
> better, indeed!

It is with some trepidation I notice that RFC 4616 does not mention
normalization at all. Are "élan" and "élan" the same password or not?
Should the latter (NFD) be normalized to the former (NFC) or not? Or
the other way around?

(In case it is not obvious, é is U+00E9 LATIN SMALL LETTER E WITH
ACUTE, while the NFD form contains an ordinary U+0045 LATIN CAPITAL
LETTER E followed by U+0301 COMBINING ACUTE ACCENT)

I am unaware of any standardization in this area, but I bring it up so
you can at least be aware of the issue, even if it's not clear how to
handle it.

– Harald

PS. Relevant reference: http://unicode.org/reports/tr15/



  reply	other threads:[~2014-04-14 14:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13 18:27 smtpmail support of unicode passwords Garreau, Alexandre
2014-04-13 19:11 ` Eli Zaretskii
2014-04-14  1:18   ` Stefan Monnier
2014-04-14  5:50     ` Stephen J. Turnbull
2014-04-14  8:18       ` Eli Zaretskii
2014-04-14  7:44     ` Eli Zaretskii
2014-04-14 12:14       ` Stephen J. Turnbull
2014-04-14 12:27         ` Eli Zaretskii
2014-04-14 12:55       ` Stefan Monnier
2014-04-14 14:57         ` Harald Hanche-Olsen [this message]
2014-04-14 15:36           ` Eli Zaretskii
2014-04-14 16:55             ` Harald Hanche-Olsen
2014-04-14 18:03               ` Stephen J. Turnbull
2014-04-14 21:01               ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20140414.165702.532163717353694063.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).