Daniël Mantione wrote: > > 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.
This makes no sense. If such a thing is done, the encoding of the actually used mysql db must be taken into care. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel