On 29.10.2014 15:33, hinsta...@yandex.ru wrote:
I believe that whoever came up with new strings overcomplicated it
Consider Java and C# : they do not store encoding in string variables

Because in C# and Java they are UTF-16. Keep in mind that Delphi also changed to UTF-16 based strings (UnicodeString) and introduced the code page aware AnsiString for easy access to single byte strings (reading files, etc.).

Regards,
Sven

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to