access foreach index counter for Iterate n times

mw mingwu at gmail.com
Sat May 21 16:57:26 UTC 2022


On Saturday, 21 May 2022 at 15:50:43 UTC, rikki cattermole wrote:
> Unicode.
>
> Multi-byte code points.
>
> UTF-8 and UTF-16 are variable length to produce a single 
> Unicode codepoint that is 32bit.
>
> writeln("“".length, " ", "”".length); // 3 3

Thanks, variable-length encoding is the answer for this question.



More information about the Digitalmars-d mailing list