From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26948: =?UTF-8?Q?=E2=80=98write-file=E2=80=99?= output should not be locale-dependent Date: Thu, 27 Jul 2017 14:55:13 +0200 Message-ID: <874lty3uq6.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daiKk-0004yz-SF for bug-guix@gnu.org; Thu, 27 Jul 2017 08:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daiKh-00071D-1p for bug-guix@gnu.org; Thu, 27 Jul 2017 08:56:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daiKg-000715-Ul for bug-guix@gnu.org; Thu, 27 Jul 2017 08:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daiKg-0000Ft-IW for bug-guix@gnu.org; Thu, 27 Jul 2017 08:56:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mv9wc9gp.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 29 May 2017 11:12:54 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 26948@debbugs.gnu.org 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 appar= ently was not > the case. Commit 412701b0e5e073e6767eed162c14698db99df69c works around the problem on GuixSD by running under a UTF-8 locale. Ludo=E2=80=99.