[fpc-pascal] Strings - suggestions

Martin Schreiber mse00000 at gmail.com
Sat Dec 22 14:51:15 CET 2012


On Saturday 22 December 2012 12:55:12 Michael Van Canneyt wrote:
[...]
> - The {$H } directive will be extended so you can choose which string type
> you need per unit. (ansi/wide/utf16/utf8...)
>    This is different from Delphi, where you don't have this choice:
> String=Widestring.

You probably mean String = UnicodeString = reference counted utf-16 encoded 16 
bit string?
>
> Because of the requirement for backwards compatibility with FPC itself,
> we'll make 2 RTLs: one backwards compatible, one with the new unicode
> string.
>
UnicodeString or codepage aware cpstrnew?

Martin



More information about the fpc-pascal mailing list