[fpc-devel] new string - question on usage

Michael Schnell mschnell at lumino.de
Tue Oct 11 09:53:26 CEST 2011


On 10/11/2011 08:52 AM, Hans-Peter Diettrich wrote:
>
> It does *not* help, because SetCodePage does a string *conversion*, 
> when it really changes the encoding.

That of course does make sense. OTOH, there should (must) be a function 
that forces the encoding to some setting without looking at the byte (or 
Word or DWord) array content.

I suppose, as a low-level programmer you can do this in a similar way as 
you can access the reference counter.

-Michael



More information about the fpc-devel mailing list