July 15, 2022 [Issue 23250] New: Unicode regional indicators are not paired correctly | ||||
|---|---|---|---|---|
| ||||
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@puremagic.com Reporter: Ajieskola@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply