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 Member function Fl_Text_Buffer::insertfile() and the other 2 that call it, loadfile() and appendfile(), can fail even on well-encoded UTF-8 files. They read the file by pieces of n bytes, so there is a high probability that a piece ends up in the middle of a multibyte sequence: the last chacter read won't be complete, and the next piece will begin with an illegal continuation byte. 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
