[fpc-devel] Unicode and UTF8String

Marco van de Voort marcov at stack.nl
Tue Dec 2 09:05:05 CET 2008

In our previous episode, Felipe Monteiro de Carvalho said:
> On Mon, Dec 1, 2008 at 7:33 PM, Martin Friebe <fpc at mfriebe.de> wrote:
> > I suggested to have a rtl, that has overloaded functions for each string
> > type.
> > of course that sounds easier than in fact it will be.
> This is about the same as having all string routines in 3 flavours:
> RTLString, utf-8 and utf-16
> the utf-8 and utf-16 could be done by assigning rtlstring to the adequate type.
> I think this is probably what we will end up with, because users of a
> particular encoding will build convenience routines for their favorite
> RTL routines.

Yes, for the core routines. It is nuts to make stuff like scandatetime in
two different encodings.

More information about the fpc-devel mailing list