From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: SRFI-14 and locale settings Date: Fri, 15 Sep 2006 10:53:14 +1000 Message-ID: <87u03aosqt.fsf@zip.com.au> References: <87y7t03ngn.fsf@laas.fr> <87slj89lrk.fsf@ossau.uklinux.net> <87wt8krocj.fsf@laas.fr> <87odtvkxl1.fsf@zip.com.au> <87r6yodtv3.fsf@laas.fr> <87ejun5kj7.fsf@zip.com.au> <877j095t91.fsf@laas.fr> <87fyevs42r.fsf@zip.com.au> <87ac52d1lj.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1158281625 8458 80.91.229.2 (15 Sep 2006 00:53:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Sep 2006 00:53:45 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Sep 15 02:53:42 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 1GO1xa-0007aN-2U for guile-devel@m.gmane.org; Fri, 15 Sep 2006 02:53:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GO1xZ-0002x7-Kj for guile-devel@m.gmane.org; Thu, 14 Sep 2006 20:53:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GO1xU-0002vL-My for guile-devel@gnu.org; Thu, 14 Sep 2006 20:53:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GO1xS-0002sh-GT for guile-devel@gnu.org; Thu, 14 Sep 2006 20:53:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GO1xS-0002s6-2a for guile-devel@gnu.org; Thu, 14 Sep 2006 20:53:30 -0400 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GO1zV-0005LX-AU for guile-devel@gnu.org; Thu, 14 Sep 2006 20:55:37 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id C4F0910B1EB for ; Fri, 15 Sep 2006 10:53:24 +1000 (EST) Original-Received: from localhost (ppp22DC.dyn.pacific.net.au [61.8.34.220]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id k8F0rNrE003752 for ; Fri, 15 Sep 2006 10:53:23 +1000 Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GO1xC-0001fi-Pk for guile-devel@gnu.org; Fri, 15 Sep 2006 10:53:14 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never In-Reply-To: <87ac52d1lj.fsf@laas.fr> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Thu, 14 Sep 2006 15:22:48 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) 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:6090 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > > The "i18n" character classification (listed in Section 4.3.2) is > actually very broad: it considers at least all Latin, Greek and Cyrillic > letters as part of the `alpha' character class. I think that makes sense. Just because some letters in a charset are not normally used in a particular language is no real reason not to have them considered letters. > Therefore, explicitly listing all Latin-1 letters in `srfi-14.c' as Neil > suggested might be the best way. Hard coded? Doesn't sound good. > Another option would be to add, say, a `--charset' command-line option > to Guile, or a `set-charset' call, something like that. Would you > prefer something like this? Doesn't sound like fun. All the locale stuff is pretty horrible already, better just do something sensible with the posix-ish selection mechanisms. Hopefully that'd cooperate best with external libraries also trying to navigate the locale jungle. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel