Me:
> I've just opened STR 2348: http://www.fltk.org/str.php?L2348
> "test/editor fails to display misc/cp1252.txt and can hang"

I've implemented an "fl_utf8len(const char* src)" function that uses
fl_utf8decode() internally to get the number of bytes in the next
character sequence starting at src. It's called fl_drg8len() in the
patch I've attached to the STR.

I saw that Matt has created a new branch to work on STR-2158 so I've
rushed to attach the patch to save him some work, and therefore have
not had time to check everything.

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

Reply via email to