The discussion in STR 2348 (http://www.fltk.org/str.php?L2348) with
the title "test/editor fails to displaymisc/cp1252.txt and can hang"
seems to have reached some agreement, for the short term anyway, that
bytes that have their top bit set but are not part of a valid UTF-8
sequence should be considered as part of the CP1252 superset of the
ISO-8859-1 character set and converted to the equivalent UTF-8.

In the short term this will address many users needs, and will allow
the developers to make progress towards releasing FLTK-1.3.0.

Under FLTK-1.1 I don't know whether or how people have been able to
display other, non-UTF-8, character sets, but that avenue may be
closed to them once the currently envisaged patch for STR2348 has
been applied.

Therefore I propose to raise an STR/RFE against FLTK-1.4 so that we
can have suggestions on how to support not just the CP1252 superset
of ISO-8859-1, but also the other ISO-8859-* character sets that
are still supported, which would cover almost all European languages
(and some Arabic, Hebrew and Thai if I remember correctly). I assume
that the MacRoman and other Mac* character sets would also fall under
the same scheme. I don't know whether we could design the API in
such a way that we could include UTF-16 and wide character encodings.



Earlier this year in "fltk-1.3.x : level of UTF-8 support?"
(http://www.fltk.org/newsgroups.php?gfltk.development+v:10794) I
asked whether we should have a poll along the lines of:

> What level of character support do you require from FLTK in the future?
> 1. plain ASCII only, so UTF-8 support needed
> 2. ASCII plus Western accented characters
> 3. simple left-to-right character sets (Greek, Cyrillic...)
> 4. simple right-to-left character sets (Arabic, Hebrew...)
> 5. complex character sets (Chinese, Japanese, Korean...)

but after the discussions above, maybe it makes more sense to ask:

Ignoring input, which character sets do you need FLTK to be able to display?
1. ASCII only
2. ASCII / pure UTF-8
3. ISO-8859-1 / CP1252
4. ISO-8859-* / MacRoman / Mac*
5. UTF-16 / wide characters
6. Other (leave a comment)



Comments?

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

Reply via email to