From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.bugs Subject: Re: UTF-8 regression in guile 1.9.5 Date: Sun, 6 Dec 2009 11:16:51 -0800 (PST) Message-ID: <437145.81403.qm@web37905.mail.mud.yahoo.com> References: <3ae3aa420912061043y12a33f27ia3d2c298812ee358@mail.gmail.com> 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 1260127033 23638 80.91.229.12 (6 Dec 2009 19:17:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 19:17:13 +0000 (UTC) To: linasvepstas@gmail.com, Guile Development , bug-guile@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 06 20:17:06 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHMbM-0005u6-UZ for guile-devel@m.gmane.org; Sun, 06 Dec 2009 20:17:02 +0100 Original-Received: from localhost ([127.0.0.1]:47517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHMbM-0007bQ-G9 for guile-devel@m.gmane.org; Sun, 06 Dec 2009 14:17:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHMbJ-0007bF-7h for guile-devel@gnu.org; Sun, 06 Dec 2009 14:16:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHMbE-0007aT-GR for guile-devel@gnu.org; Sun, 06 Dec 2009 14:16:56 -0500 Original-Received: from [199.232.76.173] (port=43102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHMbE-0007aO-C9 for guile-devel@gnu.org; Sun, 06 Dec 2009 14:16:52 -0500 Original-Received: from web37905.mail.mud.yahoo.com ([209.191.91.167]:37159) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NHMbE-0000aR-2B for guile-devel@gnu.org; Sun, 06 Dec 2009 14:16:52 -0500 Original-Received: (qmail 81615 invoked by uid 60001); 6 Dec 2009 19:16:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1260127011; bh=GFhwZTlR7h2epeGQLgwTQO9Ps22/zkPx55cFAtZZ79w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s8qQaFe5OnJmJWSLjls4AZngEKqCRAWmJ/545UDCVqmat7loRuJE74Ug93ctJr6+OW8bj2zjwY9sgoHvrleALVWdCwv1JxKsdRI4a1dmnYleRn97+wEAVLFbSOaBLLZMQsQwf9pmSM7svgRY8fWxaSBahU8eqYcHrDuxenNg618= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=112anCMHLw5b576bVL/RV4jPfm7sZ9Q/J2H9qZHHkqXz92m6L5iFAeD6lcvdaA0/wseR8GKeDaVE52868gea0mWx1k6yrOZs+rSUc0wsIAm80CRSKxT+EEOYkYwbVValSKIWq61Pu+nJu4+Kzj4UiJV3RVeAiW0NX4lP5X4cOVA=; X-YMail-OSG: 48eFlFQVM1mDX1iDlEJadxi8OrFo5uueCZWHZweCo8fbU20oUtbgTGvT.N2tHfjbO50wNqXJ.aG3jniOOITQMhYMoGnpxOSk7bzki3I1wM15D5x_JQAR_fZT.2pLeReYpPPijHUIvLIW2vHrR.9C0QL7ABwIcXHgTPQjD5jkgm3LcE0tBDgpcku8y9bU4XOFRUKKiHJUPUQ.xkz7keVckD9U.J6pa8iGFngb5hF7gdNpfqaKA1qWYL46X0syGPfASR_kmEriPrjWcAp5nqiYos4kEJDrsRkIVyMmgYXOOQIW7SXvgIOSqXgSgy4gQ.OBE_J5bSaFLSkDzk7Hx1IpbPbOlxPvbcXxon8GY6in Original-Received: from [71.140.200.228] by web37905.mail.mud.yahoo.com via HTTP; Sun, 06 Dec 2009 11:16:51 PST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 In-Reply-To: <3ae3aa420912061043y12a33f27ia3d2c298812ee358@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9737 gmane.lisp.guile.bugs:4379 Archived-At: > From: Linas Vepstas =0A=0A=0A> Then, from the gui= le prompt, I can evaluate the following:=0A> =0A> (new-node "=E3=81=A6= =E3=81=BF=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82")=0A> =0A> and get the output= "The name is =E3=81=A6=E3=81=BF=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82"=0A> = =0A> =0A> However, in guile-1.9.5, the above gives me:=0A> =0A> "The nam= e is =C3=A3=C2=A6=C3=A3=C2=BF=C3=A3=C2=BE=C3=A3=C3=A3=C3=A3"=0A=0AHmm. The= "=C3=A3" is a dead giveaway that you are printing a UTF-8 string=0Athat is= being interpreted as a ISO-8859-1 string.=0A=0AYou've already said that yo= u're in a UTF-8 locale. It could be that you =0Aneed to call (setlocale LC= _ALL "") from the command line before entering=0A(new-node "=E3=81=A6=E3=81= =BF=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82") as well as having a setlocale cal= l in your program.=0A=0AThanks,=0A=0AMike Gran