Email list hosting service & mailing list manager

RE: text processes vs. string procedures Ben Goetter (25 Jan 2000 18:04 UTC)
CHAR-{UP,DOWN}CASE & super-ASCII encodings shivers@xxxxxx (25 Jan 2000 18:47 UTC)

RE: text processes vs. string procedures Ben Goetter 25 Jan 2000 18:00 UTC

Sergei Egorov[SMTP:xxxxxx@informaxinc.com] wrote:
> And I am not against char-upcase and char-downcase as long as their
definition
> is limited to ASCII; otherwise you will have to ignore three problems
> mentioned in the Unicode book: uppercase I may map to either i or
dotless i

CHAR-{UP,DOWN}CASE can work correctly as-is in Unicode as long as the
program is working with decomposed character input - the most common
case.

The challenge of Turkish casing is a separate issue, one which this SRFI
surfs around by alluding to the global environment.  I agree with you
that it's more like collation.  Probably to be addressed by a
WITH-LOCALE form or CALL-WITH-LOCALE procedure in some future proposal.

> and explicitly
> specify that string>? and other comparisons are based on
> mechanical code-point comparison that might not correspond

"Explicitly" ... "are based" is too strong.  For this, too, the current
Turkish compromise (in your words) makes the library "reasonably useful"
and "simple to implement" (at least where you have collation callouts
available from the OS).  I've never found a use for non-locale-sensitive
string ordering.  So please soften this to "may be based."

Ben