> My problem is that the the characters "ö,ä,ü, and other 
> "special ones" " 
> are not shown correctly. So in my case this is a setting in 
> Linux an not in FLTK...?

Yes - sort of.

In times past, when characters were only one byte each... What happened was 
that the "ASCII" codes from 128 to 255 were mapped into "code-pages" on a 
fairly random basis, each country (and sometimes each computer maker) assigning 
glyphs to numbers in their own unique way.

So...

You need to make sure that Linux is set to a code-page / locale that supports 
the glyphs you want, you need to ensure that fltk has loaded a font that 
actually has those glyphs, and you need to make sure that the numbers fltk is 
assigning to those glyphs matches what the current locale expects.
It is a mess. 

And bear in mind that you can not really control those three things once your 
app is "out in the wild", so that if you run your app on someone else's PC, the 
results may well be quite different.

Switching to fltk-1.3 and UTF8 strings means that these glyphs have defined, 
unique code points that should work everywhere. It is much better. Really, make 
the change now!

-- 
Ian





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

Reply via email to