[fpc-devel] new strings, rawbyte type, but what about "raw" encoding

Paul Ishenin ip at kmiac.ru
Tue Oct 11 09:28:33 CEST 2011


11.10.2011 15:25, Michael Schnell wrote:
> I suppose there is a way to just set the encoding of a new string. This
> should not affect the stored bytes (or words or DWords).

Yes, there is SetCodePage() both for AnsiString types and UnicodeString 
type.

Also RTL has SetMultiByteConversionCodePage functions to set default 
codepage for AnsiString.

Best regards,
Paul Ishenin.







More information about the fpc-devel mailing list