[fpc-devel] Unicode RTL

Daniël Mantione daniel.mantione at freepascal.org
Thu Nov 17 10:54:04 CET 2005



Op Thu, 17 Nov 2005, schreef Mattias Gaertner:

> On Thu, 17 Nov 2005 10:27:08 +0100 (CET)
> marcov at stack.nl (Marco van de Voort) wrote:
> 
> > > Dani?l Mantione <daniel.mantione at freepascal.org> wrote:
> > 
> > > > > > In other words, you still need to duplicate an awfull lot of code.
> > > > > 
> > > > > That is the same for 8bit and widestring.
> > > > 
> > > > No, that is not true. There would be two rtls based on the same code.
> > > 
> > > Can you give some examples, what parts of the RTL should change for
> > > widestring?
> > 
> > All typecasts to OS parts, libraries and functions.
> > E.g. accessing mysql is now done with pchar(ansistring)
> 
> And they should be replaced by what?

Pchar(Tnativestring(widestring_variable));

Daniël


More information about the fpc-devel mailing list