DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2348
Version: 1.3-current


Whether the CP1252 0x80-0x9f characters are rendered as illegal or mapped
to their UTF-8 equivalents is handled by the macros in fl_utf8decode().

But whichever is enabled, fl_utf8len(char c) as it stands as a simple
bit test cannot determine whether 0x80-0x9f are "valid" CP1252 or are
UTF-8 continuation bytes. In the first case the fl_utf8len() should
return 1, which makes sense in advancing through the byte array. In
the second returning -1, or even zero, makes it difficult to walk the
array.


Link: http://www.fltk.org/str.php?L2348
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to