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: Thu, 10 Oct 2019 14:39:36 +0200 Message-ID: References: <83blupt6cd.fsf@gnu.org> <83ftk0sv7t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000065fc1305948db28f" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="216985"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Peter Dyballa , Stefan Monnier , 4157@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 14:59:01 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 1iIY21-000uGY-32 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 14:59:01 +0200 Original-Received: from localhost ([::1]:38492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIY1z-0005nq-Tl for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 08:58:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58939) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIXjg-0005tn-BS for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 08:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIXjf-0003dg-Ep for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 08:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIXje-0003dL-FX for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 08:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIXje-0002nl-AX for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2019 12:40: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.157071119910755 (code B ref 4157); Thu, 10 Oct 2019 12:40:02 +0000 Original-Received: (at 4157) by debbugs.gnu.org; 10 Oct 2019 12:39:59 +0000 Original-Received: from localhost ([127.0.0.1]:55191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIXja-0002nP-Na for submit@debbugs.gnu.org; Thu, 10 Oct 2019 08:39:59 -0400 Original-Received: from mail-pg1-f181.google.com ([209.85.215.181]:40295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIXjV-0002n8-Vw for 4157@debbugs.gnu.org; Thu, 10 Oct 2019 08:39:54 -0400 Original-Received: by mail-pg1-f181.google.com with SMTP id d26so3590412pgl.7 for <4157@debbugs.gnu.org>; Thu, 10 Oct 2019 05:39:53 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AWGtr2rtsAIlbBzHdbdt1j85YNdHTkBnC49YPF+HEuY=; b=c+iTxwWHtO7qxuZl8gNv9BD0GHWC9l8WEvUYCJyeSwDXrVD+6E9GfkFNSRuDT7AgcF nWcnJRYWsnd3GqKLNp0cxgl080wvs78xJZWs7ZoojKDqArkQ9QK2hGtDiPabQWOKoiC/ w7ef3W0E1E2tm1WLdVl+W1a8TnKuqTQ8HhVkGUCd41Z5nc2moMLenl2sL9b17ddb/dxQ eHMJJUMeMfJC8sV3ncx1+cnDevjSNX8NUXEwiin+Yhq0ZQLf64B9qq3khEcRug1vNoT5 0F0VBVv6C7KeX7s3YTt29co368Ibr3aDj39HEL+IAnspI6+FmXaE/2yV7A8uqDZ6u5Rw EcVQ== X-Gm-Message-State: APjAAAVUlx8+/K+pvEiOmOts9ZuPjXV/R9GGB3qsh4B5WTGLFVcyymBb 3V7K/UZapGi+m5sSh+bJT84nv0+3zb4WvhLaNZQ= X-Google-Smtp-Source: APXvYqyNqyireQ0HIZt9s6WDI713MFEGJiIUkOgtieGDD0+dcuMlnx8jO6EjgNnCUYI9ScB4AUPtlsbELy1W6dXjggw= X-Received: by 2002:a17:90a:1b2a:: with SMTP id q39mr11046068pjq.119.1570711187872; Thu, 10 Oct 2019 05:39:47 -0700 (PDT) In-Reply-To: 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:168867 Archived-At: --00000000000065fc1305948db28f Content-Type: text/plain; charset="UTF-8" Stefan Kangas writes: > > Like Andreas says, the dates are in Latin-9, but the file names are in > > UTF-8 (probably utf-8-hfs). Maybe we should on macOS override the > > locale when we invoke 'ls'? > > I like that idea. Perhaps we could just make sure that the encoding > is always "UTF-8" while respecting the language. How about something like the attached diff? Would that be a reasonable approach? Best regards, Stefan Kangas --00000000000065fc1305948db28f Content-Type: application/octet-stream; name="setlang.diff" Content-Disposition: attachment; filename="setlang.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k1kov4dx0 ZGlmZiAtLWdpdCBhL2xpc3AvZGlyZWQuZWwgYi9saXNwL2RpcmVkLmVsCmluZGV4IDZlNDhkMjhi NGMuLmRlYzQ0NzMzOTYgMTAwNjQ0Ci0tLSBhL2xpc3AvZGlyZWQuZWwKKysrIGIvbGlzcC9kaXJl ZC5lbApAQCAtMTI4MCw2ICsxMjgwLDIyIEBAIGRpcmVkLXN3aXRjaGVzLXJlY3Vyc2l2ZS1wCiAg ICJSZXR1cm4gbm9uLW5pbCBpZiB0aGUgc3RyaW5nIFNXSVRDSEVTIGNvbnRhaW5zIC1SIG9yIC0t cmVjdXJzaXZlLiIKICAgKGRpcmVkLWNoZWNrLXN3aXRjaGVzIHN3aXRjaGVzICJSIiAicmVjdXJz aXZlIikpCiAKKyhkZWZtYWNybyBkaXJlZC0td2l0aC1lbmNvZGluZyAoZW5jb2RpbmcgcmVtb3Rl ICZyZXN0IGJvZHkpCisgICJUZW1wb3JhcmlseSBzZXQgTEFORyBlbnZpcm9ubWVudCB2YXJpYWJs ZSB0byBFTkNPRElORyBhbmQgcnVuIEJPRFkuCitJZiBvcHRpb25hbCBhcmd1bWVudCBSRU1PVEUg aXMgbm9uLW5pbCwganVzdCBydW4gQk9EWS4iCisgIChkZWNsYXJlIChpbmRlbnQgMikpCisgIGAo aWYgKG5vdCByZW1vdGUpCisgICAgICAgKGxldCAoKG9yaWcgKGdldGVudiAiTEFORyIpKQorICAg ICAgICAgICAgIChuZXcgb3JpZykpCisgICAgICAgICAodW53aW5kLXByb3RlY3QKKyAgICAgICAg ICAgICAocHJvZ24KKyAgICAgICAgICAgICAgICh3aGlsZSAoc3RyaW5nLW1hdGNoICIrXFwuXFwo W14uQF0rXFwpIiBuZXcpCisgICAgICAgICAgICAgICAgIChzZXRxIG5ldyAocmVwbGFjZS1tYXRj aCBlbmNvZGluZyBuaWwgbmlsIG5ldykpKQorICAgICAgICAgICAgICAgKHNldGVudiAiTEFORyIg bmV3KQorICAgICAgICAgICAgICAgLEBib2R5KQorICAgICAgICAgICAoc2V0ZW52ICJMQU5HIiBv cmlnKSkpCisgICAgICxAYm9keSkpCisKIChkZWZ1biBkaXJlZC1pbnNlcnQtZGlyZWN0b3J5IChk aXIgc3dpdGNoZXMgJm9wdGlvbmFsIGZpbGUtbGlzdCB3aWxkY2FyZCBoZHIpCiAgICJJbnNlcnQg YSBkaXJlY3RvcnkgbGlzdGluZyBvZiBESVIsIERpcmVkIHN0eWxlLgogVXNlIFNXSVRDSEVTIHRv IG1ha2UgdGhlIGxpc3RpbmdzLgpAQCAtMTMzMCw4ICsxMzQ2LDkgQEAgZGlyZWQtaW5zZXJ0LWRp cmVjdG9yeQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIChleGVjdXRhYmxlLWZpbmQgInNo IikpKQogICAgICAgICAgICAgICAgICAgICAoc3dpdGNoIChpZiByZW1vdGVwICItYyIgc2hlbGwt Y29tbWFuZC1zd2l0Y2gpKSkKICAgICAgICAgICAgICAgICh1bmxlc3MKLSAgICAgICAgICAgICAg ICAgICAoemVyb3AKLSAgICAgICAgICAgICAgICAgICAgKHByb2Nlc3MtZmlsZSBzaCBuaWwgKGN1 cnJlbnQtYnVmZmVyKSBuaWwgc3dpdGNoIHNjcmlwdCkpCisgICAgICAgICAgICAgICAgICAgKGRp cmVkLS13aXRoLWVuY29kaW5nICJVVEYtOCIgcmVtb3RlcAorICAgICAgICAgICAgICAgICAgICAg KHplcm9wCisgICAgICAgICAgICAgICAgICAgICAgKHByb2Nlc3MtZmlsZSBzaCBuaWwgKGN1cnJl bnQtYnVmZmVyKSBuaWwgc3dpdGNoIHNjcmlwdCkpKQogICAgICAgICAgICAgICAgICAodXNlci1l cnJvcgogICAgICAgICAgICAgICAgICAgIiVzOiBObyBmaWxlcyBtYXRjaGluZyB3aWxkY2FyZCIg KGNkciBkaXItd2lsZGNhcmQpKSkKICAgICAgICAgICAgICAgIChpbnNlcnQtZGlyZWN0b3J5LWNs ZWFuIChwb2ludCkgc3dpdGNoZXMpKSkK --00000000000065fc1305948db28f--