From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#4157: 23.1.50; faulty character characterisation for =?UTF-8?Q?=C3=A4?= Date: Wed, 9 Oct 2019 16:29:43 +0200 Message-ID: References: <57B19222-57FF-40C8-8C94-8D19E1281D14@Freenet.DE> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90347"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Peter Dyballa , 4157@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 20:35:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIGnw-000NI2-5x for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 20:35:20 +0200 Original-Received: from localhost ([::1]:53948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIGnu-0006R2-5a for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 14:35:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32982) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iICzX-0001wT-R7 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 10:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iICzW-0001AZ-Nw for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 10:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iICzW-0001AT-L5 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 10:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iICzW-0000h6-DQ for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 10:31:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <57B19222-57FF-40C8-8C94-8D19E1281D14@Freenet.DE> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4157 X-GNU-PR-Package: emacs Original-Received: via spool by 4157-submit@debbugs.gnu.org id=B4157.15706314052542 (code B ref 4157); Wed, 09 Oct 2019 14:31:02 +0000 Original-Received: (at 4157) by debbugs.gnu.org; 9 Oct 2019 14:30:05 +0000 Original-Received: from localhost ([127.0.0.1]:53808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iICya-0000en-HX for submit@debbugs.gnu.org; Wed, 09 Oct 2019 10:30:05 -0400 Original-Received: from mail-pf1-f173.google.com ([209.85.210.173]:44483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iICyW-0000de-Ix for 4157@debbugs.gnu.org; Wed, 09 Oct 2019 10:30:01 -0400 Original-Received: by mail-pf1-f173.google.com with SMTP id q21so1727164pfn.11 for <4157@debbugs.gnu.org>; Wed, 09 Oct 2019 07:30:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=zT76+5gu7BGsYK6lkZYfnH3VXdoXCe0tm/Vd50dYwPE=; b=kknwVOhaUN1T6TvNOWAFL84718iGSGzD62rl7vMxGmgHo5tFXnJQ4zc78PkiXJp1rC b7jRjv0Av20rENl2s7v1hGSujvyJe5PPJJx5chXl/kT2PjMq6UMdgxOrbLqxsao6U0+a Oq1YoITH8MriiDDOgWkbMA6/zYTTLTfu/etphEQIqIYeI71k4MLAqoA759wHGe4mGAXO QEdHO5nFOxBwZ/SXLW3TRx5Xr+wCs4QRv/4KdGdWB5pUPQsZGeHkud4oJJKKPiD3MYXx kOl6NQJ7HLEPf7a/caW8R0IQ6JxVMgodIM07RJjOB8PvoQNUwrHNE3KTj6rXH6Vt94zb qRTg== X-Gm-Message-State: APjAAAWOScijZve3vdXeqadQmCtxmI60o+kP+em+VnhbxH0DY1m13dcr 8bpWt+h4ks4Kl0ZYZJBBmWxSt/CtUGcKy7OfcJA= X-Google-Smtp-Source: APXvYqwGd61c56r8kI475h/qxxl/RzzMVoBfFzNjTB8mNDN9TtWxcyCT7NsRs9pgsj/E/CNY6KhmSbQl/ebfvZM3kLs= X-Received: by 2002:a17:90a:f491:: with SMTP id bx17mr4578761pjb.106.1570631394483; Wed, 09 Oct 2019 07:29:54 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168737 Archived-At: found 4157 27.0.50 quit Stefan Monnier writes: >>> Hmm... that looks like a problem in dired: the file names in the output >>> of `ls' should follow file-name-coding-system, whereas the rest of the >>> output seem to use locale-coding-system. Coudl you check if that's >>> indeed the case: >>> - create a file from the Finder using accented latin-1 >>> chars, as well as non-latin-1 chars). >>> - look at it in your dired and tell us what you see. >> In both locales the *file names* are correct and also detected as containing > > "correct" doesn't really tell me what you see, but I see what you mean. > >> "composed characters," it's a problem with the file's month date. In the > > So my guess was right: ls's output uses utf-8 for the filenames, but > latin-1 for the date, which is why it's difficult for dired to do the > right thing (it's not impossible, of course, but it's more work and > dired is currently not setup for that). Ten years later, I can verify that this is still an issue on current master running on macOS 10.13. I think Stefan Monnier is spot on above. Best regards, Stefan Kangas