FWIW, the current 1.3 svn release should handle quite well chinese (and other) 
UTF8 complex codes.
Also, I have written yesterday night an utf8 str scan validation function 
called fl_is_valid_utf8.
you'll probably notice it is a bit more complex than detecting a char > 0x80 
and you may be interested to have a look to this,
good luck.
Fabien
>
> > Thank you for your work in this string handling problem . But=20
> > I am urgen with my application. So I did'nt want to wait the=20
> > final version of UTF8. I had spend several days, modified the=20
> > Fl_Input_.cxx and Fl_Input.cxx  in 1.1.9 to adapt to chinese=20
> > character process. What I do indeed is add a condition in=20
> > existing code, when encounter a char greater than 0x80 try to=20
> > interpret it as an 2 byte chinese character.

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

Reply via email to