String Type Usage. String vs DString vs WString

Tony tonytdominguez at aol.com
Mon Jan 15 03:14:02 UTC 2018


On Monday, 15 January 2018 at 02:09:25 UTC, rikki cattermole 
wrote:

>
> Unicode has three main variants, UTF-8, UTF-16 and UTF-32.
> The size of a code point is 1, 2 or 4 bytes.

I think to be technically correct, 1 (UTF-8), 2 (UTF-16) or 4 
(UTF-32) bytes are referred to as "code units" and the size of a 
code point varies in UTF-8 and UTF-16.


More information about the Digitalmars-d-learn mailing list