Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2413

String.characters not handling some unicode characters correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:

      Xcode Version 8.0 beta 6 (8S201h) with Swift 3.0

      Description

      {{let _str = "Good Coffee <emoji with skin tone here>"
      for char in _str.characters

      { print(char) } /* This should print the emoji as is, but instead it displays the emoji and the skin tone separately. G o o d C o f f e e <emoji - thumbs up> <skin tone> */ }}

      On a side note, could not post the issue with the emojis on JIRA

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jayant Jayant Varma
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: