Hi list,

My Fl_TeacherTool project has people contributing to it by adding
gettext support to provide internationalization. Here is a snip from
one of the problems a volunteer developer sent me.

------snip--------
The second problem which I encountered is that FLTK
doesn't support Unicode. I see on the FLTK website
that Unicode support will come in the future with
version 1.3. The problem is that most people
now-a-days set their locale to use the UTF-8 character
set, so gettext will send unicode characters to
fl_teachertool. This causes all the international
characters to show up as question marks or
garbly-gook. I tried to write a function which would
detect if using UTF-8 and switch the locale to
ISO-8859-1, but many users don't have the ISO-8859-1
locale defined on their systems. Do you know how to
get around this problem?  I see that somebody has
created a version of FLTK 1.1 with unicode support
(http://www.whoow.org/people/Jean-Marc.Lienher/fltk.html)
but I haven't tried installing it.
-------snip-------

I recall Ian had a fork with UTF-8 support. Is that still available?
What are my options?

BTW any idea on a rough ETA for 1.3 to get UTF-8 support?

-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/
C++ GUI tutorial http://www3.telus.net/public/robark/

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

Reply via email to