[fpc-devel] Save the current FPC UnicodeString!

Martin Schreiber fpmse at bluewin.ch
Fri Nov 13 13:38:38 CET 2009


On Friday 13 November 2009 13:26:29 Graeme Geldenhuys wrote:
> Michael Schnell wrote:
> > Martin Schreiber wrote:
> >> On Linux xlib and xft have utf-16 interfaces.
> >
> > What exactly are xlib and xft and why does MSE-GUI seemingly use those
> > while LCL seemingly uses something else ?
>
> Martin answered this already. But just to be clear, xlib and xft have
> both utf-8 and utf-16 interfaces. fpGUI uses the utf-8 interfaces,
> whereas MSEgui uses the utf-16 interfaces.
>
Often strings are converted to UCS4 somewhere in the chain anyway so it 
doesn't matter. utf-16->UCS4 can be a little faster maybe.

Martin



More information about the fpc-devel mailing list