From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#22902: GUILE_INSTALL_LOCALE not equivalent to setlocale Date: Sun, 07 Aug 2016 23:53:04 +0200 Message-ID: <87d1lknt4v.fsf@pobox.com> References: <20160304033452.GB1318@fysh.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470606865 28756 195.159.176.226 (7 Aug 2016 21:54:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2016 21:54:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 22902-done@debbugs.gnu.org To: Zefram Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Aug 07 23:54:21 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWW1T-0006g3-5f for guile-bugs@m.gmane.org; Sun, 07 Aug 2016 23:54:19 +0200 Original-Received: from localhost ([::1]:53978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWW1P-0005MV-Iy for guile-bugs@m.gmane.org; Sun, 07 Aug 2016 17:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWW1G-0005L3-Nu for bug-guile@gnu.org; Sun, 07 Aug 2016 17:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWW1C-0005Zr-LD for bug-guile@gnu.org; Sun, 07 Aug 2016 17:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWW1C-0005Zj-H7 for bug-guile@gnu.org; Sun, 07 Aug 2016 17:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWW1C-0002pn-9d for bug-guile@gnu.org; Sun, 07 Aug 2016 17:54:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Sun, 07 Aug 2016 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22902 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 22902@debbugs.gnu.org, wingo@pobox.com, zefram@fysh.org Original-Received: via spool by 22902-done@debbugs.gnu.org id=D22902.147060679510832 (code D ref 22902); Sun, 07 Aug 2016 21:54:02 +0000 Original-Received: (at 22902-done) by debbugs.gnu.org; 7 Aug 2016 21:53:15 +0000 Original-Received: from localhost ([127.0.0.1]:59291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWW0Q-0002oe-O7 for submit@debbugs.gnu.org; Sun, 07 Aug 2016 17:53:14 -0400 Original-Received: from pb-sasl2.pobox.com ([64.147.108.67]:61324 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWW0N-0002oU-TZ for 22902-done@debbugs.gnu.org; Sun, 07 Aug 2016 17:53:13 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id A832130B0D; Sun, 7 Aug 2016 17:53:11 -0400 (EDT) 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; s=sasl; bh=N6IE0XEcrix1MOwlxdnSCfdf4yg=; b=noGfuG i+kNzr7LjCyIX026hrXdia58Zf9oNNvwNODxYvq5OyBXRmHv9mfRF1TEFKSF2D62 7eUVtXd8BQcNnfwFA8fGY4ooXFNn4zZObpkDps+fScEIZb621vKo4xf9r2NAWeJ1 PBab6AtzoS1UuTFOP8Auy3mJo0gEsISZNvnCs= 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; q=dns; s=sasl; b=UMPzMze07K0IzhcZo2sI/VU5smy1wC9Y Ngyy/HOsoSOmkxXHrDiwcjgC8/xTtDV4sOsgXtaOEhBUVtBvwCw0sDUpYJojCVl+ BpNNVo9L5nAD6dzVLF1g6HXMtB12A490MtVMsavcxPbWAd2tKTvQ7TqZwc0pVjtK skLcEnPfCMk= Original-Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id A186730B0C; Sun, 7 Aug 2016 17:53:11 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id F2D7430B0B; Sun, 7 Aug 2016 17:53:10 -0400 (EDT) In-Reply-To: <20160304033452.GB1318@fysh.org> (zefram@fysh.org's message of "Fri, 4 Mar 2016 03:34:52 +0000") X-Pobox-Relay-ID: 557DD6A0-5CE9-11E6-BCE6-28A6F1301B6D-02397024!pb-sasl2.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8354 Archived-At: On Fri 04 Mar 2016 04:34, Zefram writes: > The documentation claims that setting GUILE_INSTALL_LOCALE=1 in the > environment is equivalent to calling (setlocale LC_ALL "") at startup. > Actually there is at least one difference: calling setlocale causes ports > (both primordial and later-opened) to be initially configured for the > locale's nominal character encoding, but setting the environment variable > does not. Setting the environment variable leaves the port encoding at > #f, functioning as ISO-8859-1, just as if locale had not been invoked > at all. I do see some effects from setting the environment variable, > specifically message strings affecting strftime. I believe this is fixed in both 2.0 and master. Thanks for the report. Andy