* Re: guile-1.7.0 - srfi-13 - Segmentation fault
[not found] ` <3C8D7569.E2AE6D0F@altosw.be>
@ 2002-03-12 12:23 ` Martin Grabmueller
0 siblings, 0 replies; only message in thread
From: Martin Grabmueller @ 2002-03-12 12:23 UTC (permalink / raw)
Cc: mvo, guile-user
> From: David Pirotte <david@altosw.be>
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-12 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3C81A1A9.20DEAD95@altosw.be>
[not found] ` <87pu2b55zd.fsf@zagadka.ping.de>
[not found] ` <3C8D7569.E2AE6D0F@altosw.be>
2002-03-12 12:23 ` guile-1.7.0 - srfi-13 - Segmentation fault Martin Grabmueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).