[fpc-devel] Unicode RTL
Daniël Mantione
daniel.mantione at freepascal.org
Thu Nov 17 10:57:06 CET 2005
Op Thu, 17 Nov 2005, schreef Daniël Mantione:
> > > E.g. accessing mysql is now done with pchar(ansistring)
> >
> > And they should be replaced by what?
>
> Pchar(Tnativestring(widestring_variable));
Apparently I got too little sleep or something tonight :) It would be
this:
Pchar(ansistring(wide_string_variable));
If the RTL would then be compiled without a {$define unicode} the
ansistring() would be a dummy.
Daniël
More information about the fpc-devel
mailing list