Email list hosting service & mailing list manager


Re: the discussion so far John.Cowan 18 Jul 2005 17:00 UTC

Jorgen Schaefer scripsit:

> How would you implement and use STRING=? ?

The same way I use String.equals in Java; a fast universal identity check,
which may be supplemented with more complex definitions as and when
required.

It's important to note the rather subtle definition of "canonical equivalence"
in Unicode.  It's not the case that if two strings are canonically equivalent,
a Unicode-compliant process MUST treat them identically.  Rather, a Unicode-
compliant process MAUST NOT assume that another Unicode-compliant process
will treat them differently.

--
John Cowan  xxxxxx@reutershealth.com  www.reutershealth.com  www.ccil.org/~cowan
If a soldier is asked why he kills people who have done him no harm, or a
terrorist why he kills innocent people with his bombs, they can always
reply that war has been declared, and there are no innocent people in an
enemy country in wartime.  The answer is psychotic, but it is the answer
that humanity has given to every act of aggression in history.  --Northrop Frye