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

Marco van de Voort marcov at stack.nl
Tue Oct 11 11:05:21 CEST 2011


In our previous episode, Michael Schnell said:
> 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).

Afaik it does, but only for ansistring. IIRC there is also a codepage that
just means "system default" and assumes the system knows how to convert that
from/to utf16 (or utf8 on *nix)



More information about the fpc-devel mailing list