From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4157: 23.1.50; faulty character characterisation for =?UTF-8?Q?=C3=A4?= Date: Wed, 09 Oct 2019 15:47:42 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="98558"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Peter Dyballa , 4157@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 23:44:35 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 1iIJl4-000PTa-D5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 23:44:34 +0200 Original-Received: from localhost ([::1]:59670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJl3-0006vK-9f for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 17:44:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIHwK-0007Zy-1Q for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIHwI-0003kv-RE for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIHwI-0003kn-Lh for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIHwI-0000I5-Ct for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 19:48: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.15706504751104 (code B ref 4157); Wed, 09 Oct 2019 19:48:02 +0000 Original-Received: (at 4157) by debbugs.gnu.org; 9 Oct 2019 19:47:55 +0000 Original-Received: from localhost ([127.0.0.1]:54158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIHwB-0000Hk-Gr for submit@debbugs.gnu.org; Wed, 09 Oct 2019 15:47:55 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIHwA-0000HY-Gy for 4157@debbugs.gnu.org; Wed, 09 Oct 2019 15:47:55 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E496710110B; Wed, 9 Oct 2019 15:47:48 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 69603100F1D; Wed, 9 Oct 2019 15:47:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1570650467; bh=wQBl19Q2DEa6xDJm+vPz4LpV1uq9W4uwPIKt/85xz1Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kBx5KOQACXwuIJZjxrNbNEC+WKAfq2kHYdYtXLBkjLof3aZmEb+fapFAaxxCU6luR vH2ovo/b4Jo7/7tAn0N3KEyThgOLG2qJZrld0rSc0DMQiovOxFFSJs4r9ZKon4I6E0 181jdxHdoFSaAieO+J211P6o91is5Qmo/zgb9RUrWbsIOtR+cOoYtvg8c2018inini SPLmubopOib6nruoZBRTdxoVeKluDCZaykSLtYOxbf2XFkH+L8b/e++XvKDlea6GxX fYbD4zzFMHVOe2c255lUWX+EDRNqa+eOD3c7XnmrMvwogcDCfVzdSscRsWeZ/sGP2O mvpG0BYXjf25A== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0B04F120F8A; Wed, 9 Oct 2019 15:47:46 -0400 (EDT) In-Reply-To: (Stefan Kangas's message of "Wed, 9 Oct 2019 16:29:43 +0200") 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:168798 Archived-At: >> 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. I understand why utf--8 is used for the filenames, but what makes the month be output in latin-1? macOS is supposedly an "all utf-8" environment, AFAIK. I'm not sure if macOS uses locales in the POSIX way, but... can you check what is your locale set to (and ideally, maybe, check what/who sets it)? Stefan