From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel,gmane.comp.gnu.core-utils.bugs Subject: Re: dired doesn't work properly with a multibyte locale Date: Mon, 03 Feb 2003 12:00:09 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301151043.TAA09856@etlken.m17n.org> <200301230602.PAA07755@etlken.m17n.org> <200301250049.JAA11674@etlken.m17n.org> <200301270501.OAA14427@etlken.m17n.org> <200301271109.UAA14818@etlken.m17n.org> <200302030017.JAA24252@etlken.m17n.org> <200302030211.LAA24365@etlken.m17n.org> <200302030840.RAA24766@etlken.m17n.org> <200302030910.SAA24834@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044270032 22785 80.91.224.249 (3 Feb 2003 11:00:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 11:00:32 +0000 (UTC) Cc: miles@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18feKx-0005v5-00 for ; Mon, 03 Feb 2003 12:00:27 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18feSW-0006PJ-00 for ; Mon, 03 Feb 2003 12:08:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18feM1-0002Bl-02 for emacs-devel@quimby.gnus.org; Mon, 03 Feb 2003 06:01:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18feL8-0001os-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 06:00:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18feKv-0001SL-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 06:00:27 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18feKk-0000yf-00; Mon, 03 Feb 2003 06:00:14 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id E56A714549; Mon, 3 Feb 2003 12:00:12 +0100 (MET) Original-To: Kenichi Handa X-Yow: .. I want FORTY-TWO TRYNEL FLOATATION SYSTEMS installed within SIX AND A HALF HOURS!!! In-Reply-To: <200302030910.SAA24834@etlken.m17n.org> (Kenichi Handa's message of "Mon, 3 Feb 2003 18:10:48 +0900 (JST)") User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux) Original-cc: d.love@dl.ac.uk Original-cc: bug-coreutils@gnu.org Original-cc: emacs-pretest-bug@gnu.org Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11308 gmane.comp.gnu.core-utils.bugs:103 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11308 Kenichi Handa writes: |> In article , Miles Bader writes: |> >> Please try some UTF-8 locale (e.g. en_US.UTF-8) with Latin-1 |> >> filenames. I believe that the current dired will be |> >> confused. |> |> > Um, yes. If LANG=en_US.utf-8, then ls's output seems to be correct, |> > counting by bytes, |> |> Really? I thought ls's output counts columns, thus, for |> instnace, the filename "À" is counted as 1, not 2. |> Otherwise, the current dired should work well. The dired offsets are explicitly documented as counting bytes, *note (coreutils)What information is listed::. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."