Millan wrote:
> ...
> One regard though. "Normal" C/C++ functions/methods work well with
> UTF-8 Unicode encoding only if byte mapping is in question in byte 
> counting/comparing. However if one for example wants to perform case
> insensitive comparation between two UTF-8 strings, that is to use
> "toupper" and "tolower" function, it wont work, unless (UTF-8)
> locales is used with wide char's (wchar_t) and then return as a UTF-8
> string with i.e. "wcstombs()" fucntion, to FLTK as char string.

It doesn't work even in that case, as you need to set the locale to
one that uses a "normal" notion of upper/lowercase mapping.  In
addition, Unicode supports 4 (!) separate normalization forms that
interfere with things, too.

Regardless, FLTK doesn't use strcasecmp() for international text, but
only for keywords that are restricted to ASCII text.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to