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

Add UTF-32 based Charsets into StandardCharsets

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • core-libs

      UTF-32 encoding based Charsets, namely

      UTF_32
      UTF_32BE
      UTF_32LE

      are not included in `StandardCharsets`. It would be desirable to add those Charsets as constants in `StandardCharsets`, as it would be consistent with other UTF-* Charsets.

      This is requested by FFM API, as it interacts with underlying OS's encodings, where `wchar_t` is often defined as 32-bit in POSIX systems.

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

              Created:
              Updated:
              Resolved: