From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#33044: Guile misbehaves in the "ja_JP.sjis" locale Date: Wed, 17 Oct 2018 21:56:37 -0400 Message-ID: <871s8o10h6.fsf@netris.org> References: <469f2345-5e76-1fc5-1105-f1d508611140@suse.de> <8a6a308f-a981-fd46-93d5-c2d2870f4eb4@suse.de> <87y3ayodqp.fsf_-_@netris.org> <25e93980-834d-cf91-cabf-77c2bb9a31c5@suse.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539827705 17174 195.159.176.226 (18 Oct 2018 01:55:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2018 01:55:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 33044@debbugs.gnu.org To: Tom de Vries Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 18 03:55:00 2018 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 1gCxWe-0004Lf-7m for guile-bugs@m.gmane.org; Thu, 18 Oct 2018 03:55:00 +0200 Original-Received: from localhost ([::1]:39820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCxYk-0002eK-Hf for guile-bugs@m.gmane.org; Wed, 17 Oct 2018 21:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCxYf-0002eE-IS for bug-guile@gnu.org; Wed, 17 Oct 2018 21:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCxYc-0007pI-DC for bug-guile@gnu.org; Wed, 17 Oct 2018 21:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCxYc-0007oW-7s for bug-guile@gnu.org; Wed, 17 Oct 2018 21:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gCxYb-0005o8-WD for bug-guile@gnu.org; Wed, 17 Oct 2018 21:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 18 Oct 2018 01:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33044 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 33044-submit@debbugs.gnu.org id=B33044.153982782122315 (code B ref 33044); Thu, 18 Oct 2018 01:57:01 +0000 Original-Received: (at 33044) by debbugs.gnu.org; 18 Oct 2018 01:57:01 +0000 Original-Received: from localhost ([127.0.0.1]:56022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCxYa-0005nq-T6 for submit@debbugs.gnu.org; Wed, 17 Oct 2018 21:57:01 -0400 Original-Received: from world.peace.net ([64.112.178.59]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCxYZ-0005nb-F5 for 33044@debbugs.gnu.org; Wed, 17 Oct 2018 21:56:59 -0400 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCxYT-0002Fq-GY; Wed, 17 Oct 2018 21:56:53 -0400 In-Reply-To: <25e93980-834d-cf91-cabf-77c2bb9a31c5@suse.de> (Tom de Vries's message of "Wed, 17 Oct 2018 01:27:33 +0200") 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:9209 Archived-At: Hi Tom, Tom de Vries writes: > On 10/16/18 3:57 AM, Mark H Weaver wrote: >> Thanks for the report, analysis and patch. I agree with your analysis, >> and the patch looks good. >> > > If so, can the patch be committed? I just pushed commit c2a654b7d29f5e2f32fd1313cc80162fd0c8f992 to the stable-2.2 branch, which includes the fix from your patch (although I used 'scm_from_utf8_string' instead of 'scm_from_latin1_string'), and many other instances of the same problem. These fixes will be in the upcoming guile-2.2.5 release. Does that address the problem for you? I'll leave this bug open at least until 'seed->random-state your-seed' is fixed to support wide strings. Thanks again, Mark