[SR-3582] Counting emoji flags #46167
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
MacOSX iOS
Additional Detail from JIRA
md5: 3ed43ec703bc4462ba30ecf03b6067e2
is duplicated by:
relates to:
var count: String.CharacterView.IndexDistance { get }
returns a wrong value on Linux when "Regional Indicator Symbols" are contained.Issue Description:
Flags are not distinguished in characters.count
Example:
No matter how many flags, or in which order, the result is always 1.
The text was updated successfully, but these errors were encountered: