The Case Against Autodecode

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 1 10:00:40 PDT 2016


On 06/01/2016 12:41 PM, Nick Sabalausky wrote:
> As has been explained countless times already, code points are a non-1:1
> internal representation of graphemes. Code points don't exist for their
> own sake, their entire existence is purely as a way to encode graphemes.

Of course, thank you.

> Whether that technically qualifies as "memory representation" or not is
> irrelevant: it's still a low-level implementation detail of text.

The relevance is meandering across the discussion, and it's good to have 
the same definitions for terms. Unicode code points are abstract notions 
with meanings attached to them, whereas UTF8/16/32 are concerned with 
their representation.


Andrei



More information about the Digitalmars-d mailing list