From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Grabmueller Newsgroups: gmane.lisp.guile.user Subject: Re: guile-1.7.0 - srfi-13 - Segmentation fault Date: Tue, 12 Mar 2002 13:23:04 +0100 (MET) Sender: guile-user-admin@gnu.org Message-ID: <200203121223.g2CCN4n02240@siesta.cs.tu-berlin.de> References: <3C81A1A9.20DEAD95@altosw.be> <87pu2b55zd.fsf@zagadka.ping.de> <3C8D7569.E2AE6D0F@altosw.be> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1015936197 19947 80.91.224.249 (12 Mar 2002 12:29:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2002 12:29:57 +0000 (UTC) Cc: mvo@zagadka.ping.de, guile-user@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16klPg-0005Bc-00 for ; Tue, 12 Mar 2002 13:29:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16klN0-0004Ix-00; Tue, 12 Mar 2002 07:27:10 -0500 Original-Received: from mail.cs.tu-berlin.de ([130.149.17.13]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16klKb-0004Cj-00 for ; Tue, 12 Mar 2002 07:24:42 -0500 Original-Received: from siesta.cs.tu-berlin.de (daemon@siesta.cs.tu-berlin.de [130.149.17.2]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id NAA29767; Tue, 12 Mar 2002 13:23:04 +0100 (MET) Original-Received: (from mgrabmue@localhost) by siesta.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g2CCN4n02240; Tue, 12 Mar 2002 13:23:04 +0100 (MET) Original-To: david@altosw.be In-reply-to: <3C8D7569.E2AE6D0F@altosw.be> (message from David Pirotte on Tue, 12 Mar 2002 00:26:33 -0300) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:2 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2 > From: David Pirotte > Date: Tue, 12 Mar 2002 00:26:33 -0300 > > I just downloaded the latest guile-1.7 cvs and: > > guile> (use-modules (srfi srfi-13)) > guile> (string-titlecase "LIège") > "LièGe" <== should be "Liège" > guile> (string-capitalize "LIège") > "LièGe" <== should be "Liège" > guile> (string-capitalize "LIege") > "Liege" ok > guile> (string-capitalize "L'ECLUSE") > "L'Ecluse" ok > guile> (string-capitalize "L'éCLUSE") > "L'éCluse" <== should be "L'écluse" > > it appears that anything folling an 8-bit char is capitalised, where it should > not necessarily (I think) string-titlecase (and string-capitalize as well, I think) capitalise every alphabetic character after a non-alphabetic character, and they are only prepared for 7-bit ASCII for now. They use the function scm_char_alphabetic_p to check whether a character is alphabetic or not, and this is unfortunately not enough for anyone outside US and GB... I thought I had mentioned that in the docs, but apparently not. Unfortunately, I don't have the time right now, but maybe someone else could add an explanation to the docs for the string case mapping procedures. 'martin _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user