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

Counting emoji that recently added to iOS and OS X.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Do
    • Component/s: Standard Library
    • Labels:
    • Environment:

      OS X 10.11.2 (15C50)
      Apple Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 17fe37d715)
      Target: x86_64-apple-macosx10.9

      Description

      See screenshot for viewing rendered emoji.

      // Does following results are expected?

      "\u{0001F468}\u{200D}\u{0001F469}\u{200D}\u{0001F467}\u{200D}\u{0001F467}".characters.count // 4
      "\u{0001F44D}\u{0001F3FB}".characters.count // 2
      

      What's the difference to following:

      "\u{0001F1EF}\u{0001F1F5}".characters.count // 1
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              norio_nomura Norio Nomura
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: