"tuple unpacking" with zip?
Shriramana Sharma via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 21 09:21:17 PDT 2015
Shriramana Sharma wrote:
> iterating through a
> string as a range will produce each semantically meaningful Unicode
> character rather than each UTF-8 or UTF-16 codepoint, it does make sense
> to do this.
Dear me... I meant UTF-8 encoded byte, rather than "codepoint", since all
characters have codepoints, but not all codepoints (such as the surrogates)
correspond to characters.
--
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d
mailing list