[fpc-devel] Unicode RTL

Florian Klaempfl florian at freepascal.org
Thu Nov 17 11:00:49 CET 2005


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.



More information about the fpc-devel mailing list