From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4157: 23.1.50; faulty character characterisation for =?UTF-8?Q?=C3=A4?= Date: Thu, 10 Oct 2019 21:57:58 +0300 Message-ID: <83lftsqvgp.fsf@gnu.org> References: <83blupt6cd.fsf@gnu.org> <83ftk0sv7t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="207855"; mail-complaints-to="usenet@blaine.gmane.org" Cc: stefan@marxist.se, monnier@iro.umontreal.ca, 4157@debbugs.gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 20:59:14 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 1iIdeb-000rvX-RK for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 20:59:13 +0200 Original-Received: from localhost ([::1]:43246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIdea-0002ye-3D for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 14:59:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60520) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIdeR-0002yS-1C for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 14:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIdeP-0005UZ-R8 for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 14:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIdeP-0005UV-OH for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 14:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIdeP-0000Ji-Ke for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 14:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2019 18:59:01 +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.15707339031158 (code B ref 4157); Thu, 10 Oct 2019 18:59:01 +0000 Original-Received: (at 4157) by debbugs.gnu.org; 10 Oct 2019 18:58:23 +0000 Original-Received: from localhost ([127.0.0.1]:57161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIddm-0000Ic-SV for submit@debbugs.gnu.org; Thu, 10 Oct 2019 14:58:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIddl-0000IP-Kt for 4157@debbugs.gnu.org; Thu, 10 Oct 2019 14:58:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIddf-0005JQ-W5; Thu, 10 Oct 2019 14:58:16 -0400 Original-Received: from [176.228.60.248] (port=3266 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIdde-0003lO-5G; Thu, 10 Oct 2019 14:58:15 -0400 In-reply-to: (message from Peter Dyballa on Thu, 10 Oct 2019 20:33:56 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:168899 Archived-At: > From: Peter Dyballa > Date: Thu, 10 Oct 2019 20:33:56 +0200 > Cc: Stefan Kangas , > monnier@iro.umontreal.ca, > 4157@debbugs.gnu.org > > Alright, file names in Mac OS X were recorded in a special form of UTF-8, accented characters as two characters. GNU ls outputs the month name correctly, but not the file name, which is still held in UTF-8 and not converted to ISO Latin-9. So it's more of a GNU ls bug. No, I don't think it is. No version of 'ls' I know of, including GNU 'ls', recodes file names, they just emit the bytestream they find in the directory. The idea is that you create files and display them under the same setting of the locale's codeset. If you change the codeset between the time you created the file and the time you display it, you are toast. AFAIK, this happens on any Posix filesystem.