On 22/01/2023 13:12, Marco van de Voort via lazarus wrote:

On 22-1-2023 12:39, Martin Frb via lazarus wrote:

They should be called

AnsiCodepoint
UniCodeCodePoint

No, since in the case of a surrogate it is not a codepoint either. It is the unit of encoding granularity, nothing more.
Ouch, yes got me there. And in utf8 it is also not a codepoint. I should have use "CodeUnit".



I have some doubts about such simple nomenclature really explaining something as complex as unicode. It will never be intuitive and always need study.

Agreed.
But I couldn't resist.


--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to