From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: smtpmail support of unicode passwords Date: Mon, 14 Apr 2014 16:57:02 +0200 (CEST) Message-ID: <20140414.165702.532163717353694063.hanche@math.ntnu.no> References: <83ha5wl5iw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397487456 12835 80.91.229.3 (14 Apr 2014 14:57:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2014 14:57:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 14 16:57:30 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WZiK8-0003pO-Jx for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2014 16:57:28 +0200 Original-Received: from localhost ([::1]:43531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZiK8-0008Ee-Ab for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2014 10:57:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZiK0-000851-Pf for emacs-devel@gnu.org; Mon, 14 Apr 2014 10:57:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZiJs-00089l-6b for emacs-devel@gnu.org; Mon, 14 Apr 2014 10:57:20 -0400 Original-Received: from hylle06.itea.ntnu.no ([129.241.56.235]:53713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZiJr-00085W-Vw for emacs-devel@gnu.org; Mon, 14 Apr 2014 10:57:12 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hylle06.itea.ntnu.no (Postfix) with ESMTP id 1D85F662E03 for ; Mon, 14 Apr 2014 16:57:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle06.itea.ntnu.no Original-Received: from localhost (228-79-15.connect.netcom.no [46.15.79.228]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle06.itea.ntnu.no (Postfix) with ESMTPSA id 53A03662E43; Mon, 14 Apr 2014 16:57:03 +0200 (CEST) In-Reply-To: X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.4.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 129.241.56.235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171428 Archived-At: [Stefan Monnier (2014-04-14 12:55:17 UTC)] > > My reading if the relevant RFCs is that UTF-8 must be used, but I'm n= o > > expert in this area. >=20 > 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 "=C3=A9lan" and "e=CC=81lan" 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, =C3=A9 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. =E2=80=93 Harald PS. Relevant reference: http://unicode.org/reports/tr15/