From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel,gmane.comp.lib.gnulib.bugs Subject: Re: Accessing the environment's locale encoding settings Date: Thu, 15 Dec 2011 01:41:32 +0100 Message-ID: <87k45y8y4j.fsf@gnu.org> References: <877h30exfk.fsf@gnu.org> <201111201755.18910.bruno@clisp.org> <87ehx2bsis.fsf@gnu.org> <201111202112.46974.bruno@clisp.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323909707 7205 80.91.229.12 (15 Dec 2011 00:41:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2011 00:41:47 +0000 (UTC) Cc: bug-gnulib@gnu.org, guile-devel@gnu.org To: Bruno Haible Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Dec 15 01:41:42 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RazOI-0008H0-2r for guile-devel@m.gmane.org; Thu, 15 Dec 2011 01:41:42 +0100 Original-Received: from localhost ([::1]:42362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RazOH-0006vq-Fp for guile-devel@m.gmane.org; Wed, 14 Dec 2011 19:41:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RazOD-0006vg-5O for guile-devel@gnu.org; Wed, 14 Dec 2011 19:41:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RazOB-0002TX-Tn for guile-devel@gnu.org; Wed, 14 Dec 2011 19:41:37 -0500 Original-Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:41877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RazOB-0002TE-NQ; Wed, 14 Dec 2011 19:41:35 -0500 X-IronPort-AV: E=Sophos;i="4.71,355,1320620400"; d="scan'208";a="135461271" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 15 Dec 2011 01:41:33 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <201111202112.46974.bruno@clisp.org> (Bruno Haible's message of "Sun, 20 Nov 2011 21:12:46 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.82 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13109 gmane.comp.lib.gnulib.bugs:29349 Archived-At: Hi, Since adding an implicit setlocale(LC_ALL, "") cannot be done in Guile 2.0 (it would change the default port encoding as a side effect, etc.), I committed something similar to the hack proposed in [0]. Bruno Haible skribis: > If I were you, I would start using the gnulib-tool option --local-dir > with a local modification of the 'localcharset' module, as documented in = [1]. I followed your suggestion: http://git.sv.gnu.org/cgit/guile.git/tree/gnulib-local/lib?h=3Dstable-2.0 Thanks! Ludo=E2=80=99. [0] http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00039.html