[fpc-pascal] string comparison on various platforms

Marc Santhoff M.Santhoff at t-online.de
Tue May 2 23:34:04 CEST 2006


from digging the sources I know, that on Unix-like Systems the
comparison of strings is done according to the current locale (Pascals
"strcomp" is mapped to C-libs "strcoll").

Can I assume that this is done similar on all other platforms, too?

I'm asking myself if I have to consider something special when sorting
strings or if a comparison using the RTL function will allways be
"correct" (not talking of special sort orders for rarely occuring


More information about the fpc-pascal mailing list