UTF8 and unary encoding

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 12 10:32:25 PDT 2016


On 9/12/16 11:59 AM, Jonathan M Davis via Digitalmars-d wrote:
> Aren't we already doing that with stride? It reads the number of bytes in a
> code point from the first code unit and then if we're dealing with a random
> access range of char or an array of char, then we skip that many code units
> without reading them.

Oh, ok. I'd either forgotten or the code has been improved since I last 
looked at it. Thanks! -- Andrei


More information about the Digitalmars-d mailing list