[fpc-devel] new string - question on usage

Michael Schnell mschnell at lumino.de
Tue Oct 11 09:40:07 CEST 2011


On 10/10/2011 11:11 PM, Martin wrote:
>
> But that will always just push the issue to another location.
> Somewhere the change from string to utf8string must be made.
??? The "new string" paradigm is all about changing from utf8string (and 
other such types) to string. Isn't it ?

The big decision was to do either (a) multiple string types with 
dedicated encoding or (b) a single string type with dynamic encoding. 
While I don't dare to decide which way is the better one, the decision 
to do (b) has now finally been taken. So - like it or not - we should 
stick to it in all projects and do away with types like ANSIString, 
utf8string etc.

-Michael



More information about the fpc-devel mailing list