[Issue 23250] New: Unicode regional indicators are not paired correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 15 13:59:55 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23250

          Issue ID: 23250
           Summary: Unicode regional indicators are not paired correctly
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: Ajieskola at gmail.com

If there are many flags side-by-side, they should count as a grapheme each. But
regional indicators do not currently get paired like that. Due to that,
"🇬🇧🇭🇰🇸🇬🇯🇪🇰🇾".byGrapheme.walkLength returns 1 when it should return 5.

--


More information about the Digitalmars-d-bugs mailing list