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 12:40:29 -0800 (PST) Message-ID: <600066.28581.qm@web37908.mail.mud.yahoo.com> References: <3ae3aa420912061043y12a33f27ia3d2c298812ee358@mail.gmail.com> <437145.81403.qm@web37905.mail.mud.yahoo.com> <3ae3aa420912061133r3d2fb5b4w2b3ea31f3d05e701@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260132057 5501 80.91.229.12 (6 Dec 2009 20:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 20:40:57 +0000 (UTC) Cc: bug-guile@gnu.org, Guile Development To: linasvepstas@gmail.com Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 06 21:40:50 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 1NHNuI-0002xd-R6 for guile-devel@m.gmane.org; Sun, 06 Dec 2009 21:40:39 +0100 Original-Received: from localhost ([127.0.0.1]:37997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHNuI-0008Ci-G0 for guile-devel@m.gmane.org; Sun, 06 Dec 2009 15:40:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHNuG-0008CC-9f for guile-devel@gnu.org; Sun, 06 Dec 2009 15:40:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHNuB-0008AR-6q for guile-devel@gnu.org; Sun, 06 Dec 2009 15:40:35 -0500 Original-Received: from [199.232.76.173] (port=58569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHNuA-0008AI-SL for guile-devel@gnu.org; Sun, 06 Dec 2009 15:40:30 -0500 Original-Received: from web37908.mail.mud.yahoo.com ([209.191.91.170]:22176) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NHNuA-0008Am-B0 for guile-devel@gnu.org; Sun, 06 Dec 2009 15:40:30 -0500 Original-Received: (qmail 29562 invoked by uid 60001); 6 Dec 2009 20:40:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1260132029; bh=fiZw+eJqztpLi/Qx+HoXUK+cNyalr9KFFrSaYPGKnpg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IGVVm8+5/MSH4LiUkBotwIwvId8PC+upQcelvNVeYqL4AOLyenWXbn0xn5bMXzrShxdn0zzo/krbAhkFVKOBlEkDH094wRd/uFxXYS//2y5TU5a0IvmNkHxdCCKokE+GTZ7D41CXYw3CUqrT1o+4G5pu23WQove3aYztgzNAdDs= 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:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=a8SyWskkyoWYeN+90cWpNPiXsquPdVNEBmtsa52yUSS3UJQrxR1NJu09WGfeLzSwS62bDv47V3FA1X4bU6vq1ttwCfFF09GbBOK3dkRgRZ4UbHbmQL+c2BcRRXuTzfdS3Nz89ZqzWq3azUwAqsjtvEGpFKV6q6NqT4DnZAJUcE0=; X-YMail-OSG: M2QH6jYVM1kUZ0hRu7ryPaQLQLLDSeQtH1ioIl90hgiCpitO3uhZZLQu2iLyx63AqSz42i2uSR.auDPcro83sVuEQQkqeALk4rq4ssA6MIESgdK825QPTlJP61TMptPePdQCbW1WtmAIBkNCixKLSX1cfHTZ0lt4lUZhqbBTd01FYLRRXn_rHVVHEEETk6xTackyFDSvWSyO156f2GCCQbPZWCD1sMBKIzrU68hixeD4_BhGrmgYYUopu0FRsDX6_bTnnKMJQF8U0W.6RNuYuiUm94tme5nF.qSqxQCtoOQc Original-Received: from [71.140.200.228] by web37908.mail.mud.yahoo.com via HTTP; Sun, 06 Dec 2009 12:40:29 PST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 In-Reply-To: <3ae3aa420912061133r3d2fb5b4w2b3ea31f3d05e701@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:9739 gmane.lisp.guile.bugs:4381 Archived-At: =0A=0A> > Hmm. The "=E3" is a dead giveaway that you are printing a UTF-8 = string=0A> > that is being interpreted as a ISO-8859-1 string.=0A> >=0A> > = You've already said that you're in a UTF-8 locale. It could be that you=0A= > > need to call (setlocale LC_ALL "")=0A> =0A> That cured it.=0A> =0A> > a= s well as having a setlocale call in your program.=0A> =0A> Doesn't seem to= be required, after the above.=0A> =0A> Thanks!=0A> =0A> Why this happened = is strange; I'm now investigating. Sorry to=0A> have bothered you with som= ething that is dohh .. basic.=0A=0A1.9.x does work fundamentally differentl= y w.r.t. strings.=0AThe reason for that is because of how strings are now s= tored.=0AIn 1.8.x, a character was a byte. In 1.9.x a character is a =0Aco= depoint.=0A=0ABut for Guile to store characters as codepoints, declaring a = locale=0Apretty much a requirement now.=0A=0A-Mike