From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Text collation Date: Thu, 30 Nov 2006 16:19:06 +0100 Organization: LAAS-CNRS Message-ID: <87zma9m07p.fsf@laas.fr> References: <877j00cirs.fsf@laas.fr> <87hcz3mqhr.fsf@zip.com.au> <87r6x0qjyy.fsf@laas.fr> <87fyc1df70.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164900024 9729 80.91.229.2 (30 Nov 2006 15:20:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 15:20:24 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Nov 30 16:20:20 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gpnhc-0000Sh-5A for guile-devel@m.gmane.org; Thu, 30 Nov 2006 16:19:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gpnhb-0000ap-Gq for guile-devel@m.gmane.org; Thu, 30 Nov 2006 10:19:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpnhQ-0000SV-MO for guile-devel@gnu.org; Thu, 30 Nov 2006 10:19:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpnhO-0000Pm-6T for guile-devel@gnu.org; Thu, 30 Nov 2006 10:19:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpnhN-0000PM-FN for guile-devel@gnu.org; Thu, 30 Nov 2006 10:19:41 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GpnhM-0003hb-8d for guile-devel@gnu.org; Thu, 30 Nov 2006 10:19:40 -0500 Original-Received: from messiaen.laas.fr (messiaen [IPv6:2001:660:6602:0:230:65ff:fed4:9d20]) by laas.laas.fr (8.13.8/8.13.8) with SMTP id kAUFJbir013786 for ; Thu, 30 Nov 2006 16:19:37 +0100 (MET) Original-Received: by messiaen.laas.fr (sSMTP sendmail emulation); Thu, 30 Nov 2006 16:19:07 +0100 Original-To: Guile-Devel X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 10 Frimaire an 215 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Guile-Devel In-Reply-To: <87fyc1df70.fsf@zip.com.au> (Kevin Ryde's message of "Thu, 30 Nov 2006 10:08:03 +1100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: 0.306 () MAILTO_TO_SPAM_ADDR,NO_RELAYS X-Scanned-By: MIMEDefang at CNRS-LAAS on IPv6:2001:660:6602::2 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:6271 Archived-At: Hi, Kevin Ryde writes: > I would worry that r6rs may address these things too, leaving > guile-specifics as, well, a dead-end. Though I can see this stuff is > of use now. Don't worry, R5.91RS doesn't deal with locales and text collation [0], and if it did, we'd just have to provide a wrapper for our API. MzScheme has had a similar API for some time also [1]. > Myself I've been using a couple of bits from from localeconv and > nl_langinfo. Some way to get at that would be a good addition (though > hopefully in a cleaner way than the C level). I've written a wrapper for `nl_langinfo ()' as part of the `i18n' module (it is necessary to internationalize SRFI-19 for instance). This also required the implementation of `scm_from_string ()', a generalized version of `scm_from_locale_string ()' that uses `iconv ()'. I'll write about this later and try to address the other issues you raised at the same time. Thanks, Ludovic. [0] http://lists.gnu.org/archive/html/guile-devel/2006-09/msg00052.html [1] http://download.plt-scheme.org/chronology/mzmr200alpha14.html _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel