From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#3432: [h-e-w] 23.0.93; dired encoding Date: Mon, 01 Jun 2009 11:32:21 -0400 Message-ID: References: <20090531185108.d39b518c.Kostafey@yandex.ru> <4A229DC0.1000102@gnu.org> <4A23F2E5.5050803@gnu.org> Reply-To: Eli Zaretskii , 3432@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1243871859 13877 80.91.229.12 (1 Jun 2009 15:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 15:57:39 +0000 (UTC) Cc: 3432@emacsbugs.donarmstrong.com, Kostafey@yandex.ru To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 17:57:35 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MB9tD-0006Wp-SL for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 17:57:32 +0200 Original-Received: from localhost ([127.0.0.1]:33166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB9tD-0003Kk-9g for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 11:57:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MB9t7-0003IG-Qw for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 11:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MB9t3-0003DN-Bh for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 11:57:25 -0400 Original-Received: from [199.232.76.173] (port=60237 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB9t2-0003DF-Ue for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 11:57:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39591) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MB9t1-000191-Tl for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 11:57:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51FvHwg004280; Mon, 1 Jun 2009 08:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n51Fe5QH000902; Mon, 1 Jun 2009 08:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Mon, 01 Jun 2009 15:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3432 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 3432-submit@emacsbugs.donarmstrong.com id=B3432.124387034532412 (code B ref 3432); Mon, 01 Jun 2009 15:40:04 +0000 Original-Received: (at 3432) by emacsbugs.donarmstrong.com; 1 Jun 2009 15:32:25 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51FWL7j032405 for <3432@emacsbugs.donarmstrong.com>; Mon, 1 Jun 2009 08:32:22 -0700 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MB9Ur-0000Gx-5n; Mon, 01 Jun 2009 11:32:21 -0400 In-reply-to: <4A23F2E5.5050803@gnu.org> (message from Jason Rumney on Mon, 01 Jun 2009 23:25:25 +0800) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 01 Jun 2009 11:57:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28418 Archived-At: > Date: Mon, 01 Jun 2009 23:25:25 +0800 > From: Jason Rumney > CC: Kostafey@yandex.ru, 3432@emacsbugs.donarmstrong.com > > Other platforms don't in general use the internal ls-lisp implementation > to generate dired buffers, and most systems use utf-8 encoding in the > locale these days, so even if file-attributes is called somewhere else > with 'string as its second argument, there is a good chance that Emacs > 23 will display the username correctly without decoding. > > Also, while trying to test this, adduser refused to work, advising: > > adduser: To avoid problems, the username should consist only of > letters, digits, underscores, periods, at signs and dashes, and not > start with > a dash (as defined by IEEE Std 1003.1-2001). > > So the probability of users on other systems running into this bug are > fairly low. OK, but the solution should still be general, in `file-attributes', and it is to decode the string by locale-coding-system, don't you agree?