Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291660

Grapheme support in BreakIterator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • core-libs
    • b15
    • generic
    • generic

      In order to stream extended grapheme clusters in a String, users have to create a String array first, then stream it, such as:
      ```
      Arrays.stream("πŸ‡ΊπŸ‡ΈπŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦".split("\\b{g}"))
      ```
      Instead of this rather vague instruction, enhancing the existing `getCharacterInstance()` method to support grapheme breaks would be appropriate.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: