[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text collation
From: |
Ludovic Courtès |
Subject: |
Re: Text collation |
Date: |
Thu, 30 Nov 2006 16:19:06 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
Kevin Ryde <address@hidden> 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