[fpc-pascal] Case insensitive comparison of strings with non-ascii characters

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Jul 25 19:26:04 CEST 2009


On 25 Jul 2009, at 17:46, theo wrote:

>  if SLen1 <> SLen2 then  //Assuming lower/uppercase representations
> have the same byte length

That is a wrong assumption. E.g., the lowercase version of I  
(uppercase i, a single byte) in Turkish is ı (an "i" without a dot,  
definitely not a single-byte character).


Jonas


More information about the fpc-pascal mailing list