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_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal