> imacarthur wrote: > >> b8 ae e5 8a a9 39 20 e9 80 80 e5 87 ba ff > > > > I assume the 0xFF at the end is just a typo? (It is not valid UTF-8) > > Replacing that with 0x00 seems to form a valid UTF-8 string, and in > > my tests it seems to work just fine. I don't seem to see the effects > > you report. > > Good catch; if that's the problem, an invalid UTF8 string, > that could cause the mess as well I suppose, in which case > modify the code I sent you accordingly, as it's based on the > hex you sent me, which has the \xff in it.
I had try your code ,reaplace \xff with \x00, but it still display wrong,the mess is not in the end of string ,but in middle of string. thanks _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

