-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-375] Counting emoji that recently added to iOS and OS X. #42992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm pretty sure this is correct.
UTR #51: Unicode Emoji defines how emoji modifiers and emoji sequences work. An important takeaway from this definition is that systems that do not have a glyph to represent a given sequence may fallback to showing each component emoji separately, which is likely why UAX #29 definition was not changed to include emoji modifiers / sequences. Although it does say that editors should attempt to treat an emoji sequence as a single grapheme cluster (e.g. hitting delete at the end should delete the whole sequence instead of just one character). Incidentally, |
Thank you for explanation. Now I understand that counting emoji with Fitzpatrick and multi-person groupings should be changed by platforms. It would be helpful if Strings and Characters of The Swift Programming Launguage or Using Swift with Cocoa and Objective-C would contains some note that there are the differences between the OS X/iOS platform depended feature and the standard depended feature Swift referring. |
What? No, that's backwards. The behavior shouldn't change for each platform. That's why UAX #29 doesn't include emoji modifiers, because each implementation is free to decide whether to show the emoji modifier sequence as a single icon or as multiple icons. The fact that
I have no idea how to parse that sentence |
Sorry my bad english. 🙁 I meant that counting them should be changed by platforms in other layer than Swift Standard Library. |
So, this is not a bug and I close. |
This is not a bug. |
why this( |
Attachment: Download
Environment
OS X 10.11.2 (15C50)
Apple Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 17fe37d)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 2cba750f1160e4f7e09133b0a53d5513
Issue Description:
See screenshot for viewing rendered emoji.
// Does following results are expected?
What's the difference to following:
The text was updated successfully, but these errors were encountered: