>From your comments, I assume you are using fltk-1.1 ?
It has no support for any character representation other than basic bytes, nominally as ASCII. If you need to use non-latin alphabets, you can basically do this by setting the "code page" appropriately for your alphabet. This works for some languages - e.g. it should work for Russian, for example, but not for Chinese... Also, it is not a very portable solution. No version of fltk handles "wide" characters, so attempting to use wide-character representations for your strings will not work. Fltk-2 and the various utf8-patched versions of fltk-1.1, handle all strings as utf8 encoded Unicode strings. http://www.imm.uklinux.net/fltk/fltk118-utf8-2007-10-11.tar.bz2 might be one place to start if you want a utf8-capable version of fltk-1.1. There are others around on the web. Using one of these variants should resolve your questions, I expect. The only issue then is ensuring you have appropriate fonts selected to provide glyphs for the various Unicode values in your string, which is a much easier thing to do! SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

