> I can just write own conversion, but then, on Win98, I should > send data to > FLTK in utf-16 or extended ascii code page (windows-1250)? This is fltk-2 you are using? I don't use fltk-2 that much myself, but it should work entirely in UTF-8 internally. Indeed, it may even have the support you need to "just work" in win98m but I don't know for sure, maybe some of the fltk-2 team can chip in here? > But... if I send just encoded bytes, instead of UTF-8, will > that not full > FLTK? Like, FLTK seems to count number of characters etc > assuming data is > UTF-8, so if it something that looks like utf-8 but is > cp-1250 then fltk > will incorrectly count number of glyphs and have trouble displaing...? Yes, I suspect that you will need to convert any strings from win98 into UTF-8 for fltk to use, but that may be done already in the fltk-2 codebase. > Also, how to detect if Im on win98? Oh, now you're asking... It's been a while... I think you call GetVersionEx(..) and decode the returned structure, looking at the platformID to discriminate between win9x and winNT series variants. Googling for GetVersionEx ought to turn something up. Do you have to support a lot of win98 users? That could get to be a real problem... Maybe you could detect that your app is running on win98 and just pop a dialog saying "Please Upgrade!" Well, OK, maybe not! 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
Re: [fltk.general] unicode and windows 98
MacArthur, Ian (SELEX GALILEO, UK) Thu, 31 Jul 2008 04:36:58 -0700
- [fltk.general] unicode and windows 98 Rafal
- Re: [fltk.general] unicode and win... MacArthur, Ian (SELEX GALILEO, UK)
- Re: [fltk.general] unicode and... Rafal
- Re: [fltk.general] unicode... MacArthur, Ian (SELEX GALILEO, UK)
- Re: [fltk.general] uni... Rafal
- Re: [fltk.general] uni... Rafal

