[Issue 23341] [std.uni] ZWJ not handled properly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 17 17:09:26 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23341
--- Comment #1 from Garrett D'Amore <garrett at damore.org> ---
ZWJ probably requires a level of sophistication to handle properly:
https://en.wikipedia.org/wiki/Zero-width_joiner
For example, the handling in Devangari is a little different since ZWJ modifies
characters placed before it.
For example:
s2 = "\u0915\u094d\u200d";
writefln("s2 is %s\n", s2);
writefln("graphemes %d (expect 1)\n", wr.walkLength); // this should be "1"
This looks like: क्
--
More information about the Digitalmars-d-bugs
mailing list