Op Tue, 26 Aug 2008, schreef Graeme Geldenhuys:

On Tue, Aug 26, 2008 at 12:15 AM, JoshyFun <[EMAIL PROTECTED]> wrote:

returns exactly the same string (WinXP FPC 2.2.2), as this functions
seens to not be implemented right now I started to work in some
functions for this job at least for the simple cases, this means one
low case char has one upper case char, which should solve 95% of the
cases.

I'm just curious how this works with Unicode characters. I guess the
Unicode website should cover this in detail (though I haven't searched
for it yet).  How do you convert from lower to upper case? Is there a
set formula per Unicode Block?

There is only one way to case convert Unicode characters: tables. A trivial solution would be an array[widechar] of widechar, but one might want a more memory efficient solution.

Daniël
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to