Propably I'm just confused, mixing things together and ill informed.
Yes, exactly! Your arguments were rather nonsense.
About the code snippets, tutorials, manuals and libraries you mentioned:
Delphi's makers have provided code snippets and tutorials that claim their UnicodeString is source compatible with AnsiString and should still be indexed as before with
They have fed the common misconception that UTF-16 is a fixed width encoding. The result is even more broken UTF-16 code out there.
Our UTF-8 solution is more robust. No false promises are given. Code must be done always right because multi-byte codepoints are so common.
The sample code from wiki was added by Mattias to explain some corner cases. Maybe it should be deleted, it only confuses people.
The recommended way to assign a constant to a String variable is
without {$codepage utf8} as was repeated many times.
(yep, I haven't readed any of the forementioned lenghty historical conversiotions, since I'm a new comer)
Yes, that is a problem with many people.
The heated Unicode discussion continued in FPC lists for many many years. I believe FPC developers were exhausted and frustrated after that.
Now they have a plan for a Delphi compatible UTF-16 solution which could be ready by now without so many people fighting them during the process.
We have a working UTF-8 solution now but some people want to emphasize it is not usable. For some reason those people refuse to show any code to back their claims. All the actual problems I have seen could be solved easily.
Partly this is psychological issue. Some people just want to oppose and fight others using whatever excuse. Reminds me of the "poor development process" of Lazarus which Git would solve. Well, Git is supported now but nobody still has offered his forked Git repo during the 5-6 years...
So hey, let's stop the useless whining and do something productive.
From now on please attach example code when you have
real problems with Unicode.