From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wJw/EzHX+F/MTAAA0tVLHw (envelope-from ) for ; Fri, 08 Jan 2021 22:05:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qOb4DjHX+F8QdAAA1q6Kng (envelope-from ) for ; Fri, 08 Jan 2021 22:05:37 +0000 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 C669E9404E4 for ; Fri, 8 Jan 2021 22:05:36 +0000 (UTC) Received: from localhost ([::1]:41248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxzt1-000391-KR for larch@yhetil.org; Fri, 08 Jan 2021 17:05:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxzsU-00037u-Cg for bug-guix@gnu.org; Fri, 08 Jan 2021 17:05:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxzsU-0005yF-0g for bug-guix@gnu.org; Fri, 08 Jan 2021 17:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxzsT-0005fK-Rs for bug-guix@gnu.org; Fri, 08 Jan 2021 17:05:01 -0500 Subject: bug#26948: 'guix publish' file name decoding is locale-dependent Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 08 Jan 2021 22:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26948 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Mail-Followup-To: 26948@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 26948-done@debbugs.gnu.org id=D26948.161014346221726 (code D ref 26948); Fri, 08 Jan 2021 22:05:01 +0000 Received: (at 26948-done) by debbugs.gnu.org; 8 Jan 2021 22:04:22 +0000 Received: from localhost ([127.0.0.1]:50844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxzrq-0005eL-At for submit@debbugs.gnu.org; Fri, 08 Jan 2021 17:04:22 -0500 Received: from mail-il1-f170.google.com ([209.85.166.170]:39311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxzrp-0005e9-0P for 26948-done@debbugs.gnu.org; Fri, 08 Jan 2021 17:04:21 -0500 Received: by mail-il1-f170.google.com with SMTP id q1so11781542ilt.6 for <26948-done@debbugs.gnu.org>; Fri, 08 Jan 2021 14:04:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=A78m6yUvXrgw+Bg6LFY7JtoPkv2XveEI6+OrJnoo9nY=; b=chqCVC8FICz858PbzDdgitGVuJuF+uIgjllooW1TI3WJSewccZc9GF8xAyHY7FjTxR k32oemdcAUCRwwjQxf2WiHa4aCgjmrLZu2awrANi/gny8TpOd1qr8Rn2aUOi9dc2E8PC uiKjrjN5p4vH2zTtXhcjAcJhz9h+B142WRsQ/ZjtJ30K2IeDJRr/s7NenPFUUCqMWEfo PoOBN7jKlEwyVBdhqh1ucPvnY/PVYg9VKNivQtOFFWnMhx35UDe9jyOdIRlgUdc0ROPM smHtzZQGzMK4WccDFz8F/zsZfP/c6dNz2DPkSwPLJ4x1V7yer0i4vJnhVY0hWIUtsT7a DUlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=A78m6yUvXrgw+Bg6LFY7JtoPkv2XveEI6+OrJnoo9nY=; b=WVbjERFwYq+a4a9UcfRHcPkoD0vrTjzoJKlJcBMjh2sCstTftTxfJi+g33jc/uJ8wt 5YsDExIrRisv5JpDnKspU+lBXj7BEGMqMXtQcbhxOevhGEHrLx0AGPioz7R09iv1zlI5 h1VMDjxBsQcd7++7hdxWlkXAJKmYvhhzo2Mdng1zpPYMJ7JxjXlQfIwmPWZCPfgpTZCY r4dHm+YFKO9SNJMb3+RQMvg/EZbUn8J3+RFVyAMTINEZP6Dp5LXqALbkmH3OJcHl0jnK IN8De8k3lonCccBuRHVmfbf5lEZgkerboYJebCEU85uljP34nd+Lb+kvtWUoFIjTuDNl YoNg== X-Gm-Message-State: AOAM533EsnGhfFpx4XAoP5IzSxduPBbpZV6BO46cN7gyzuF2ZM8XBvXy aHyu+TBcD2Yo30jur4Wl95L0qIAOOjY= X-Google-Smtp-Source: ABdhPJw0VkrY4ImVwTvrRNXYGf9AlSuoA3GXjOKDkCZBtcvQaJ0gSr6o4NVycpoADGhtakdDB9ypJA== X-Received: by 2002:a05:6e02:4ae:: with SMTP id e14mr5686093ils.132.1610143455295; Fri, 08 Jan 2021 14:04:15 -0800 (PST) Received: from hurd (dsl-236-123-170.b2b2c.ca. [207.236.123.170]) by smtp.gmail.com with ESMTPSA id o8sm7033472ilc.20.2021.01.08.14.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 14:04:14 -0800 (PST) From: Maxim Cournoyer References: <8737c51e6r.fsf@gmail.com> <87shk3y74g.fsf@gnu.org> <8737btieie.fsf@gmail.com> <87vaoovvvz.fsf@gnu.org> <87o9ucu1t3.fsf@gmail.com> <87mv9wc9gp.fsf_-_@gnu.org> <874lty3uq6.fsf@gnu.org> Date: Fri, 08 Jan 2021 17:04:14 -0500 In-Reply-To: <874lty3uq6.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 27 Jul 2017 14:55:13 +0200") Message-ID: <87mtxj5bmp.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 26948-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=chqCVC8F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C669E9404E4 X-Spam-Score: -1.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: b8li4/0NJ5rW Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> =E2=80=98guix publish=E2=80=99 uses the latter, so =E2=80=98guix publish= =E2=80=99 is sensitive to locale >> settings, which is pretty bad. >> >> Guile currently does not allow us to specify whether/how file names >> should be decoded, but possible solutions have been discussed for 2.2. >> >> In the meantime, solutions are: >> >> 1. To run =E2=80=98guix publish=E2=80=99 in a UTF-8 locale, which appa= rently was not >> the case. > > Commit 412701b0e5e073e6767eed162c14698db99df69c works around the problem > on GuixSD by running under a UTF-8 locale. Confirmed with you on #guix; that's good enough for now. Closing, Thank you! Maxim