[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String comparison under Latin-1 and Unicode

This page is part of the web mail archives of SRFI 13 from before July 7th, 2015. The new archives for SRFI 13 contain all messages, not just those from before July 7th, 2015.

Sorry, I sent this prematurely!

>>>>> On Fri, 10 Mar 2000 15:00:16 -0500, Dave Mason <dmason@xxxxxxxxxxxxxxx> said:

> I would much prefer either:
>   (collation->predicate language-specifier ordering) -> pred?
>   (pred? string1 string2) -> bool

and then didn't give the or:
    (collation->predicate language-specifier) -> pred?
    (pred? ordering string1 string2) -> bool

(though I prefer the first version)

> where LANGUAGE-SPECIFIER is as Ben Goetter
> <goetter@xxxxxxxxxxxxxxxx> suggested and ORDERING is one of the
> strings "<", "<=", or "="

> This seems far more useful, and efficient that converting any string
> you want to compare to a collation-key!