[fpc-devel] Unicode functions

JoshyFun joshyfun at gmail.com
Tue Aug 26 00:15:55 CEST 2008


Hello FPC,

Working in a new piece of code I had noted that:

A: WideString;
A:=UpCase(A);

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.

My question is if this code is of interest to the compiler team, if
the code will run only in my programs it will be coded in a way to fit
my needs and no more, but, if the team is interested in them I'll put
a bit more efforce in write them in a more readable way and even try
to match as much as possible the Unicode standards, up to my skills
let me, of course.

Currently I have UpCase and LowerCase functions for simple chars and
I'm now working in the "SameText" and "Sort" functions.

If the team is interested and can point me to the most important
functions it will prevent me for looking for unsupported functions
throught the code flow.

-- 
Best regards,
 JoshyFun




More information about the fpc-devel mailing list