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.bugs,gmane.lisp.guile.devel Subject: Re: UTF-8 regression in guile 1.9.5 Date: Tue, 12 Jan 2010 12:25:09 +0100 Message-ID: <87iqb7o99m.fsf@gnu.org> References: <3ae3aa420912061043y12a33f27ia3d2c298812ee358@mail.gmail.com> <437145.81403.qm@web37905.mail.mud.yahoo.com> <3ae3aa420912061133r3d2fb5b4w2b3ea31f3d05e701@mail.gmail.com> <600066.28581.qm@web37908.mail.mud.yahoo.com> <3ae3aa420912061243nfb7f54cv1fd14950849b67fe@mail.gmail.com> <188729.99650.qm@web37904.mail.mud.yahoo.com> <67395.2223.qm@web37901.mail.mud.yahoo.com> <87ocl0bw3m.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1263295668 14663 80.91.229.12 (12 Jan 2010 11:27:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 11:27:48 +0000 (UTC) Cc: guile-devel@gnu.org To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 12 12:27:41 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUeuR-000585-0J for guile-bugs@m.gmane.org; Tue, 12 Jan 2010 12:27:39 +0100 Original-Received: from localhost ([127.0.0.1]:53498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUeuO-0004NX-Qw for guile-bugs@m.gmane.org; Tue, 12 Jan 2010 06:27:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUesp-00049J-Ct for bug-guile@gnu.org; Tue, 12 Jan 2010 06:25:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUesj-00048I-Uw for bug-guile@gnu.org; Tue, 12 Jan 2010 06:25:58 -0500 Original-Received: from [199.232.76.173] (port=51465 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUesj-00048D-Ld for bug-guile@gnu.org; Tue, 12 Jan 2010 06:25:53 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:50961) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUesj-0001I4-8p for bug-guile@gnu.org; Tue, 12 Jan 2010 06:25:53 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUesV-0004Mc-Vf for bug-guile@gnu.org; Tue, 12 Jan 2010 12:25:40 +0100 Original-Received: from laptop-147-210-128-170.labri.fr ([147.210.128.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 12:25:39 +0100 Original-Received: from ludo by laptop-147-210-128-170.labri.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 12:25:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.lisp.guile.devel Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: laptop-147-210-128-170.labri.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?iso-8859-1?Q?Niv=F4se?= an 218 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 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:9cmbf11NIYRQY8HvgrG7JnYHzV8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4448 gmane.lisp.guile.devel:9871 Archived-At: Hello, Andy Wingo writes: > On Mon 11 Jan 2010 14:38, ludo@gnu.org (Ludovic Courtès) writes: > >> Mike Gran writes: >> >>> But as far as the greater question of the side effects of setting locale >>> early on startup... The parsing of any source code files after locale >>> is set will be done in that context. I don't think it would do anything >>> unexpected. The reader and the port routines tend to do their own parsing, >>> and don't tend to rely on libc locale-specific routines. Even so, it >>> would take some auditing to prove that there would be no effect. >> >> Source files should have the right ‘coding:’ meta anyway. I just >> changed the compiler to install the current user locale [0], as that’s >> typically what a standalone program does. > > If we're taking this tack, perhaps we should setlocale in the `guile' > binary (but not by default when used by a library). We could, but it would break programs that have been assuming the ‘C’ locale, e.g., when parsing of printing data, etc... Thanks, Ludo’.