[fpc-pascal] Strings - suggestions

Martin Schreiber mse00000 at gmail.com
Sat Dec 22 15:58:11 CET 2012


On Saturday 22 December 2012 15:45:13 Michael Van Canneyt wrote:
> On Sat, 22 Dec 2012, Martin Schreiber wrote:

> > UnicodeString or codepage aware cpstrnew?
>
> 'codepage aware' just means that you can specify a charsize/codepage.
> A unicode string is just one type of codepage aware string.
> (unless the compiler guys now tell me otherwise).
>
That was so in the beginning but Delphi later changed it. So a Delphi 
UnicodeString variable currently allways is utf-16 encoded. All AFAIK and 
IIRC of course. ;-)

Martin



More information about the fpc-pascal mailing list