[fpc-devel] Unicode RTL

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 17 11:18:16 CET 2005


On Thu, 17 Nov 2005 11:04:01 +0100 (CET)
marcov at stack.nl (Marco van de Voort) wrote:

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

:)
That's exactly why I asked the trick questions.


Mattias




More information about the fpc-devel mailing list