[fpc-devel] _wcsicmp
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Dec 4 13:16:31 CET 2014
On 04 Dec 2014, at 13:02, Adriaan van Os wrote:
> Is there an RTL or package equivalent for _wcsicmp et all <http://msdn.microsoft.com/en-us/library/k59z8dwe.aspx
> > or should the libc declaration be added to the application ? Or is
> there another recommendation to compare wide (so-called Unicode)
> strings case-insensitive ?
The closest equivalent is probably sysutils.UnicodeCompareText(). It
uses CompareStringW on Windows though, and on Unix it converts both
strings to uppercase, locale-sensitive-wise, and compares those.
Jonas
More information about the fpc-devel
mailing list