User-perceived character for colored Emoji counted as 2 characters
| Originator: | tonny.xu | ||
| Number: | rdar://21434789 | Date Originated: | 18-Jun-2015 11:51 AM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.0 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: In Swift standard Library, it states that “ Each Character value in a string represents any user-perceived Unicode character, regardless of the character's length or representation in memory” Steps to Reproduce: In swift standard library playground, add the coloured emoji to the test string Expected Results: The coloured emoji should be visualised as one character Actual Results: the coloured emoji is visualised as 2 characters Regression: Swift 2 Notes: N/A
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!