Should this work?

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Jan 9 23:50:22 PST 2014


10-Jan-2014 11:49, Dmitry Olshansky пишет:
> 10-Jan-2014 05:16, Adam D. Ruppe пишет:
>> On Friday, 10 January 2014 at 00:56:36 UTC, Manu wrote:
>>> So is it 'correct'?
>>
>> Yes, with the caveat that it might find a surrogate pair (like H
>> followed by an accent code point). That's what byGrapheme is about:
>> combining those pairs.
>
> Not at all. Take time to read the Unicode standard.
> Surrogate pairs are a part of UTF-16 encoding and little else.
>

To clarify: grapheme cluster is not a pair, nor it's a surrogate pair, 
but H with accent is a grapheme cluster ;)

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list