From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.devel Subject: Re: UTF-8 regression in guile 1.9.5 Date: Mon, 11 Jan 2010 22:18:14 +0100 Message-ID: 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: quoted-printable X-Trace: ger.gmane.org 1263252099 878 80.91.229.12 (11 Jan 2010 23:21:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 23:21:39 +0000 (UTC) Cc: bug-guile@gnu.org, guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 12 00:21:32 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 1NUTZh-0006fj-7v for guile-bugs@m.gmane.org; Tue, 12 Jan 2010 00:21:29 +0100 Original-Received: from localhost ([127.0.0.1]:47041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUTZh-0003mI-GN for guile-bugs@m.gmane.org; Mon, 11 Jan 2010 18:21:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUTZa-0003lh-7t for bug-guile@gnu.org; Mon, 11 Jan 2010 18:21:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUTZV-0003l9-OS for bug-guile@gnu.org; Mon, 11 Jan 2010 18:21:21 -0500 Original-Received: from [199.232.76.173] (port=54004 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUTZV-0003l2-FQ; Mon, 11 Jan 2010 18:21:17 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:47495 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUTZR-0006lB-2I; Mon, 11 Jan 2010 18:21:13 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 97014905E8; Mon, 11 Jan 2010 18:21:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=059kN8Ch+9QV 7z9BKvmei8HI/Fg=; b=TDBpkNVdCtOgbWw0s9EZ09muV4oVYSGstMQ8/BVbO7Mf VtdBBHS1XyQCTJu9hBSlGiuVx6b87syMfYCEd2sx53K7pgU67he+37vjOximr5jG Wh88VDhuhlGZPo9s/vZ/kWo3E1TWxgXndTzzVPeluWlfNgLMlzxZvhUI/fv4LZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=lgNUXA PVj3j5NTU2LG7KSUd0K5GEY8WffxAjOimKA6gRlfJGd6kebSXfWV7bvxUquSh4k5 YbFjwkQGtiEcPYPRF3oiwrNee3NUMlvTfSho9BI/3c2UwjjMC3hbTpTq0F6RsbXC 6dnA6lK0VWVEboWsipDjDDde1lledOM5OTA3E= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 6B96E905E2; Mon, 11 Jan 2010 18:21:09 -0500 (EST) Original-Received: from unquote (unknown [81.38.180.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 836E7905E1; Mon, 11 Jan 2010 18:21:06 -0500 (EST) In-Reply-To: <87ocl0bw3m.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 11 Jan 2010 14:38:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 00188C5A-FF08-11DE-9E47-9D59EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:4445 gmane.lisp.guile.devel:9865 Archived-At: On Mon 11 Jan 2010 14:38, ludo@gnu.org (Ludovic Court=C3=A8s) 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=20 >> 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 parsin= g, >> and don't tend to rely on libc locale-specific routines. Even so, it=20 >> would take some auditing to prove that there would be no effect. > > Source files should have the right =E2=80=98coding:=E2=80=99 meta anyway.= I just > changed the compiler to install the current user locale [0], as that=E2= =80=99s > 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). Andy --=20 http://wingolog.org/