From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: unicode support Date: Mon, 31 Mar 2014 17:41:24 -0400 Message-ID: <87vbuum4fv.fsf@yeeloong.lan> References: <20140331051838.E1F5413FB97@raspberrypi> <87fvly230x.fsf@WS-IT-19-15.tts.loc> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1396302174 16405 80.91.229.3 (31 Mar 2014 21:42:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2014 21:42:54 +0000 (UTC) Cc: guile-user@gnu.org, Dima To: =?utf-8?B?0JjQs9C+0YDRjCDQk9Cw0LnRgdC40L0=?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Mar 31 23:42:48 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUjyd-0005tz-KG for guile-user@m.gmane.org; Mon, 31 Mar 2014 23:42:43 +0200 Original-Received: from localhost ([::1]:51560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUjyc-0007hK-R1 for guile-user@m.gmane.org; Mon, 31 Mar 2014 17:42:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUjyN-0007WQ-En for guile-user@gnu.org; Mon, 31 Mar 2014 17:42:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUjyI-0008L3-70 for guile-user@gnu.org; Mon, 31 Mar 2014 17:42:27 -0400 Original-Received: from world.peace.net ([96.39.62.75]:41024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUjyI-0008Km-2z for guile-user@gnu.org; Mon, 31 Mar 2014 17:42:22 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WUjyB-0006ms-1d; Mon, 31 Mar 2014 17:42:15 -0400 In-Reply-To: <87fvly230x.fsf@WS-IT-19-15.tts.loc> (=?utf-8?B?ItCY0LPQvtGA?= =?utf-8?B?0Ywg0JPQsNC50YHQuNC9Iidz?= message of "Mon, 31 Mar 2014 12:19:58 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11179 Archived-At: =D0=98=D0=B3=D0=BE=D1=80=D1=8C =D0=93=D0=B0=D0=B9=D1=81=D0=B8=D0=BD writes: > Hi, dmitriy. Try to add this line to head your scripts > > (setlocale LC_ALL "") > (set-port-encoding! (current-input-port) "utf-8") > (set-port-encoding! (current-output-port) "utf-8") The 'setlocale' call is indeed important. The next two lines shouldn't be needed, and would cause breakage on non-utf8 locales. Regards, Mark > Dima writes: > >> Hi. >> Did something change from guile 1.8.x to 2.0 with regards to unicode = support. >> >> I have a script that has strings written on russian without much care, a= nd it does not work on 2.0. >> >> I want to make sure whether there are changes in guile or something else. >> >> Thanks, regards, >> Dima.