How to detect start of Unicode symbol and count amount of graphemes
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Oct 6 10:40:42 PDT 2014
On Mon, 06 Oct 2014 17:28:43 +0000
Uranuz via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:
> If it is true it means that first byte of sequence found and I
> can count them. Am I right that it equals to number of graphemes,
> or are there some exceptions from this rule?
alot. take for example RIGHT-TO-LEFT MARK, which is not a grapheme at
all. and not a "composite" for that matter. ah, those joys of unicode!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141006/c228b8de/attachment.sig>
More information about the Digitalmars-d-learn
mailing list