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: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to