From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Feature request: multibyte user-full-name Date: Tue, 14 Mar 2006 11:07:47 -0500 Message-ID: <87mzft813o.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142361951 18772 80.91.229.2 (14 Mar 2006 18:45:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 18:45:51 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 19:45:48 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJESw-0001SF-1n for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 19:41:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJESv-0007nh-J6 for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 13:41:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJC3q-0005lZ-G4 for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJC3p-0005jm-7P for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJC3p-0005jY-1m for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:49 -0500 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FJC83-0003ph-4Z for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:12:11 -0500 Original-Received: from alfajor ([67.71.115.9]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060314160747.GHYE28586.tomts25-srv.bellnexxia.net@alfajor>; Tue, 14 Mar 2006 11:07:47 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 56444D73A1; Tue, 14 Mar 2006 11:07:47 -0500 (EST) Original-To: AIDA Shinra In-Reply-To: (AIDA Shinra's message of "Tue, 14 Mar 2006 12:18:14 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51623 Archived-At: >> Anyway, as far as a system allows users to switch locale, I >> think, pw_gecos must adopt locale-independent encoding, thus >> the possible encoding is one of UTF-*. And, considering >> backward compatibility, it should be UTF-8. Then, how about >> we always decode it by utf-8 (only if it contains a byte >> with MSB set) while falling back to locale-coding-system >> (invalid utf-8 sequence is found), and see if that works on >> any systems? That sounds like a reasonable plan. Stefan