[wx-dev] Re: case insensitive find() in wxString

Vadim Zeitlin vadim at wxwindows.org
Wed Aug 2 10:06:06 PDT 2006


On Wed, 02 Aug 2006 11:42:25 +0200 Francesco Montorsi <f18m_cpp217828 at yahoo.it> wrote:

FM> good point. I thought to use wxTolower as all case insensitive wxString 
FM> functions currently do... I see that GNU libc does not provide any 
FM> stricmp() function unlike e.g. MSVC

 That is because Unix systems have strcasecmp() instead.

FM> and probably because for some Unicode-supported characters the
FM> lowercase/uppercase has no sense.

 It's more complicated than for ASCII but it still does have sense.

 Regards,
VZ





More information about the wx-dev mailing list