> > Fl_String: basically typedef'd to "char*" (UTF-8 encoded 
> unicode), but 
> > on WinCE, it would be WCHAR*
> 
> That's just a bad idea - you'd break source compatibility when
> compiling on WinCE.  While we might have common UTF-8 conversion
> functions to go to UTF-16 at display-time, for example, we don't
> want to expose those implementation details to the application
> developer.

OK, so fltk should be strictly utf-8 internally, and convert to the
local type (ASCII, utf-8, utf-16, utf32, other MBCS format...) only at
the "edges"? (By edges I mean inputs, outputs, drag/drop, display,
etc...)
In that way the programmer can safely assume all strings are utf-8 for
portable code?

-- 
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