From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gFF7Jue4eWdIQwEAqHPOHw:P1 (envelope-from ) for ; Sat, 04 Jan 2025 22:40:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gFF7Jue4eWdIQwEAqHPOHw (envelope-from ) for ; Sat, 04 Jan 2025 23:40:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=anRkxcE5; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JkG12otP; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736030439; 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-to: 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=9VJHNyvAVMaQb1K1tPmh7Xtz3XOgq++skCgygE1PLR0=; b=E07fAP0qQnjh39abiYFaql5NRRyzAL/xPZoQ7nHmEo/THSayh8JU+Zrvns1MvdxuBMRWU7 kooDorRChvh63UuxCS22lFiKTcucUOedaZKeJlrol5dWwrzSwuEjdjUCikK6WbENsjRQAT g26/zo1P7Q3GyBkNyN/U+x7jxOjkhzBYJauH1o34+e9IKUd9ICLp/2I0gs0P0GHiNq6o4u oY/14SC8wvgs7W+JcyYT2qb9+9RuUUkesRdwxsF5vIgYu8X5FoC/efj/zyfnrikVb0F+rR 8zML7FfhpbF482pN7mw5udxlWvcv7RiJf/tCUW0WG1/LOLgLwyad2pqQ3agAkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=anRkxcE5; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JkG12otP; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736030439; a=rsa-sha256; cv=none; b=JT/cL0m2Ksr8ZMNh8f3dkPaQCL7nX8OC/pYZ+BX3Wj8edIuvgeeNEEVX7n0lRv0y9WjWin Qc5E/+76FjOWQdqiVfDmgRGRppBEgq9YZpRYERVPXnkhhxp87wClpJ7v68IUuRAZFOLOei iDQ9dY97u1Mw2PtWJQxtGxSIDKDo9ab1iVjIpx3Tm4Ja3MUnu8kiJgPIN6dgwL4E9B6niq VqbyJMn5nK4eR7jCy+bLtMIQtz1RhO0LuR7ekmNL+IdcXp+Bx6pejkBLrU2SxAUeLjhzr0 A8q0mm7r08v2S6FT43cZ1k3sz9MyNZaYojK9+vDrlubu7pIl3OR4TRmsFA20qQ== 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 50ABD84088 for ; Sat, 04 Jan 2025 23:40:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUCoP-0007Ps-5e; Sat, 04 Jan 2025 17:40:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUCoN-0007NB-3f for guix-patches@gnu.org; Sat, 04 Jan 2025 17:40:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUCoM-0005Cn-F3 for guix-patches@gnu.org; Sat, 04 Jan 2025 17:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=9VJHNyvAVMaQb1K1tPmh7Xtz3XOgq++skCgygE1PLR0=; b=anRkxcE5wHk6sdEA4wmTEUqxTsBOshFA/2xkTN8mpkOWOf9tQAlCt9bIU+4F3vj/NtwREAg1QZExnnzay3yriUgJjDpcx2lAx2o/adL6XCYMwy2xI1Iz+0D2l0C7taKKyjbkL/gDN7YJzPu8zB7wiAT+0gtmF3EpVu7RcOT75dXInEdV3jDJnayNM9qeGcy3jOJ39SUIEjiXuaUa8LviM8GScGWpGsy96ZvqsTmy6FY0L1YaKqzffOwsDTe256cEzX4WzjEp7lSP9Npc/XDr5eRDl3iCAP2332Fa8eCogw7BHziuyE93i/L2RTXlenE3s/fdV1n+UOxTH9f9gDZwkw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUCoM-0000k3-As for guix-patches@gnu.org; Sat, 04 Jan 2025 17:40:02 -0500 Subject: bug#75007: [PATCH] guile-launcher: Avoid the =?UTF-8?Q?=E2=80=9CC=E2=80=9D?= locale and try =?UTF-8?Q?=E2=80=9CC.UTF-8=E2=80=9D.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 04 Jan 2025 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 75007 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75007-done@debbugs.gnu.org Cc: Tobias Geerinckx-Rice , Christopher Baines , Josselin Poiret , Simon Tournier , Mathieu Othacehe Mail-Followup-To: 75007@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 75007-done@debbugs.gnu.org id=D75007.17360303462773 (code D ref 75007); Sat, 04 Jan 2025 22:40:02 +0000 Received: (at 75007-done) by debbugs.gnu.org; 4 Jan 2025 22:39:06 +0000 Received: from localhost ([127.0.0.1]:57860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUCnS-0000ie-9m for submit@debbugs.gnu.org; Sat, 04 Jan 2025 17:39:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35994) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUCnQ-0000ho-II for 75007-done@debbugs.gnu.org; Sat, 04 Jan 2025 17:39:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUCnK-0004G2-AP; Sat, 04 Jan 2025 17:38:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9VJHNyvAVMaQb1K1tPmh7Xtz3XOgq++skCgygE1PLR0=; b=JkG12otP4dHxPOO8DhhX rPHzQjnuFuc8p+AT+mmfVJzRjkrpmN8CbIabCmnWTv/+3etzWc/MPKi2l6RYGKyZRurMH/ih5XcXD xxZz5rFMU9y+6VY/pSy8cASzbiuJrNQnufKioniLRlTuDuHyvtTfddQaA7uKhenJJI6au0tWy7ObW lfNRyiWGz7cvY1QMXpDxbrYjr+JuSt8Y5H5GmtPio6ID/npdKKhQQWx36s4qbaU8JU+0+OQoJ1WPd CNyhTxahrg6YWnKogKAwYez3DDv0YDVzY7ssow7twOMGT0k+h6myyApdPCa2e3lGd/I8tC0fZdRx2 C0csiAPALqodbQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <24813952576725c0d7f6478543eec8e2747d525d.1734777730.git.ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 21 Dec 2024 11:44:27 +0100") References: <24813952576725c0d7f6478543eec8e2747d525d.1734777730.git.ludo@gnu.org> Date: Sat, 04 Jan 2025 23:38:55 +0100 Message-ID: <87h66enr0g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.10 X-Spam-Score: -7.10 X-Migadu-Queue-Id: 50ABD84088 X-TUID: nWoxy08Dr3j+ Ludovic Court=C3=A8s skribis: > This is a followup to ed0cd12a82b429bc5058f693a0f75f2ba0ee47c4, which > adds the C.UTF-8 locale to the glibc package, and > ee4e79f871bc2f848ce4b4a176bb725ab71e3cd6, which changed the default to > =E2=80=9CC.UTF-8=E2=80=9D for =E2=80=98guix=E2=80=99 commands. > > Fixes a bug whereby starting =E2=80=98guix=E2=80=99 in an environment whe= re the LC_* > variables are unset would start it in the =E2=80=9CC=E2=80=9D locale: > > echo '(pk (setlocale LC_ALL))' | guix shell -CW coreutils -- guix repl > > This would lead to breakage for commands such as =E2=80=98guix substitute= =E2=80=99 that > need to run in a UTF-8 locale. > > * gnu/packages/aux-files/guile-launcher.c (main): Try =E2=80=9CC.UTF-8=E2= =80=9D before > =E2=80=9Cen_US.UTF-8=E2=80=9D. Do that also when the current locale is = =E2=80=9CC=E2=80=9D. > * guix/ui.scm (install-locale): Likewise. > > Change-Id: I36da4db8f898f1083b33760e1ab46c3a257de811 Pushed as d7c8a5ff3c76461d469364e920ec4f09f9e3c126.