[fpc-devel] Unicode RTL
Marco van de Voort
marcov at stack.nl
Thu Nov 17 11:04:01 CET 2005
> 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?
Nothing. You can't. It was meant to illustrate that there is more to it than
simply declaring an "tbasicstring" or so alias and fixing some internal
routines. It will "just" mean full checking and ifdeffing of/in every part
of the entire fpc/lazarus repository, and maintaining that, the added support
burden etc.
More information about the fpc-devel
mailing list