Re: Case insensitive comparisions

From: Keld Jørn Simonsen (
Date: Tue Mar 28 2000 - 14:38:27 EST

On Tue, Mar 28, 2000 at 08:24:57AM -0800, wrote:
> I was stepping through some code that did case insensitive comparison for
> unicode, and noticed that the heart of the function converted each
> character to lowercase before comparing them. If they matched, they were
> considered equal, otherwise not.

If you do case insensitive comparison, the right thing is to
do it at the case insensitive level of the ISO/IEC ordering
standard 14651. Don't do uppercase to lowercase mapping first,
just compare directlye, case insensitive.


This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:00 EDT