DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2505
Version: 1.3-current


Textual data can enter FLTK widgets by three means:
1) as character strings expressed in the program code
(e.g. button labels);
2) from keyboard (or character palette) input;
3) reading an external file with methods insertfile(), appendfile() 
or loadfile() of Fl_Text_Buffer.

It's fair to assume that all strings from case (1) are correct UTF-8.
The OS guarantees that strings from case (2) are correct UTF-8 also.
All input from case (3) is systematically transformed into valid
UTF-8 by the current FLTK 1.3 version regardless of the running OS.
This transformation is performed assuming that non-UTF8 data is
CP1252 data.

Thus, I believe there's no need for further bad UTF-8 handling.
Am I wrong ?


Link: http://www.fltk.org/str.php?L2505
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to