[fpc-devel] Unicode support (yet again)

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Sep 16 16:26:19 CEST 2011


Michael Schnell schrieb:

> Is migrating to multiple string types (each denoting a certain encoding) 
> and migrating to cpstrnew (a single string type with dynamical encoding) 
> a contradiction or can it be consolidated ?
> 
> What is supposed to happen to the nasty legacy types called "String" and 
> "Char" in that case ?

"string" has been a generic type since long, also "char" (at least in 
Delphi). This would allow to map these to any decent type, as Delphi did 
in the move to Unicode.

DoDi




More information about the fpc-devel mailing list