According to the FLTK 1.3.2 documentation:
Unicode support was only recently added to FLTK and is still incomplete.
However, the following are supposedly implemented:
It is important to note that the initial implementation of Unicode and UTF-8 in FLTK involves three important areas:
- provision of Unicode character tables and some simple related functions
- conversion of char* variables and function parameters from single byte per character representation to UTF-8 variable length
sequences- modifications to the display font interface to accept general Unicode character or UCS code numbers instead of just ASCII or Latin1 characters.
My question is, how do I actually display Unicode on my FLTK controls? I can't find any widget functions which accept Unicode. For example, this is the signature for the label
function:
void Fl_Widget::label ( const char * text )