On 30.04.2010, at 21:45, Duncan Gibson wrote: > 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.
Duncan, thank you. Don't worry about my branch. I am throwing pretty much everything out that seems superfluous to me, so I can understand the core code of the class. All the code itself may very well go to waste ;-) and the original is fixed instead. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
