From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0OpxFDtYq2LcSwAAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 18:20:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KLKFEztYq2Jx+QAAG6o9tA (envelope-from ) for ; Thu, 16 Jun 2022 18:20:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BF41B2810C for ; Thu, 16 Jun 2022 18:20:10 +0200 (CEST) Received: from localhost ([::1]:49742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1sE4-0004tC-WF for larch@yhetil.org; Thu, 16 Jun 2022 12:20:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1sDz-0004re-0W for guix-patches@gnu.org; Thu, 16 Jun 2022 12:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1sDy-00028l-Nr for guix-patches@gnu.org; Thu, 16 Jun 2022 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1sDy-0005eq-JM for guix-patches@gnu.org; Thu, 16 Jun 2022 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55912] [PATCH] home: Add OpenSSH service. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jun 2022 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55912 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 55912@debbugs.gnu.org Received: via spool by 55912-submit@debbugs.gnu.org id=B55912.165539634321671 (code B ref 55912); Thu, 16 Jun 2022 16:20:02 +0000 Received: (at 55912) by debbugs.gnu.org; 16 Jun 2022 16:19:03 +0000 Received: from localhost ([127.0.0.1]:42970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1sD0-0005dT-Vt for submit@debbugs.gnu.org; Thu, 16 Jun 2022 12:19:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1sCz-0005co-7L for 55912@debbugs.gnu.org; Thu, 16 Jun 2022 12:19:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1sCs-000227-S8; Thu, 16 Jun 2022 12:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=j4zF5Cmkmm7mgSNT1Ghlec1VN78npVoOLTtmWasOo/Y=; b=fZFtx2lYNAWVlhSNJefG YQNtS/1VMPa3mMg7apXk4GEBNwIx7N92WmIwxKAMdBNsfhvXUN/dbeszMRGTLMNkqj0wUhBpgehf6 3SwAIyfR6MkKpi0niqCZca2NotrEeV63Fdh5aKvhOit4pvLV9hWfOWg+WISkJP0SAgNfgBCtwz2Su ha8kPNHT6FNV3ewKQAWAmM/SFJDjSMHYLzRCiupWm/Z/rkcoSN3WEvRJ7xLbaGZbvl99WteaAw6Zn NPtBbS41vti75StAUS7yAaSEyVki6PVnIQCLLF7ZzuGXz8MPNeYfZ1j2T3NATph4mIGs1ykWDfFPC H19+HVnO+ZmsWA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53832 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1sCr-0003x5-EY; Thu, 16 Jun 2022 12:18:53 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220615202951.22501-1-ludo@gnu.org> <87wndglwbd.fsf@gnu.org> <8e5bb981309815ed813fc2e304c556cc8704c622.camel@telenet.be> Date: Thu, 16 Jun 2022 18:18:50 +0200 In-Reply-To: <8e5bb981309815ed813fc2e304c556cc8704c622.camel@telenet.be> (Maxime Devos's message of "Thu, 16 Jun 2022 14:16:46 +0200") Message-ID: <87tu8kk2dx.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655396411; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j4zF5Cmkmm7mgSNT1Ghlec1VN78npVoOLTtmWasOo/Y=; b=E8GKOKihvWKWZwStut3bEULRZc9zDqX33XvNDShQhHEAQYpVnI+UooPgllkaL2rkUwiH// QqMkd8UuGqj2xEx3lY/T/Vm16a0bl1q/RhMhGDtaP5W5IROXZL97QeQ5dwO6AdmtvEM4No BPvoGsTdJp/Lgsih81BM/KZ5HJx4123a2JBoDjkvYSL5HoA3Nmrjbt9p1Jppk3LTCgs2EX 7p8moNDXaj0+dZLwUslXcS9zso9E2JlVNOvu7gbUoABA832lDXdeptqZWzCjXr/RqUA4Hk HVopM0BCV8t9QFqEIWVLH3QtmebA+AhgvsZcDdolc3dy36n3EUmLJR4jf2WMuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655396411; a=rsa-sha256; cv=none; b=WTXE/HsEauGjUg4W/MGu25gbRNATHKrt8pKv0VUWBmq16xUHgmYNXyw1Mc2nCiP5JH7ya3 Achfosy+7tL70NGQdB1cPC2FWUdJQ8ITRX/r6zdJU+B80b61gZrZ9Cyv2U0Eo9gtgphYXL /mNWRUy+k4vwx5SuEj425WYy6x8XypaEdgB9zs8b+m8woHM0bq2BsVPfB6e8/YPd2KXEOc dTAVOqh0MGYUGo+lp72aHlRWtN7Mv+2M9QuYE4IKc4IpeBH+lweLPdIaVGEdV2u1Gn/I0/ LQj9vlgx2rhbZfg39cqA5muMHjcJ1RNyPO/NElW0CQ72UlWMYc1CzRe2NIcDnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fZFtx2lY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fZFtx2lY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BF41B2810C X-Spam-Score: -4.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: 46j25+LV9eR5 Maxime Devos skribis: > I did a quick test, and apparently Guile calls nl_langinfo to determine > the encoding, which returns ANSI_X3.4-1968, because glibc defaults to > the C locale. =C2=A0So unless you want to change the encoding of the C > locale or change the default locale or override glibc's choice of > default locale in Guile, I don't think there's anything to change in > Guile? Glibc 2.35 includes the =E2=80=9CC.UTF-8=E2=80=9D locale; I don=E2=80=99t k= now if it=E2=80=99s the default, but it will likely help. > Somewhat related, I could look into separating locales from the file > name encoding in Guile (with a parameter object or something) later?=20 > Not a solution as-is, but would be convenient in many places ... Yes, that too. In (guix build syscalls), there=E2=80=99s a variant of =E2= =80=98scandir=E2=80=99 for instance that is locale-independent and decodes file names as UTF-8. Nowadays that=E2=80=99s probably the most sensible option. In Guile proper, it would be nice if there were a =E2=80=98%file-name-encod= ing=E2=80=99 fluid. Thanks, Ludo=E2=80=99.