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

Use UTF-8 charset in fixuppandoc

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      A number of Java tools in the 'make' directory operate using the platform default charset. This is often UTF-8, but platform-dependent. As of JDK-8065704, this was standardized on US-ASCII.

      In practice, it's common to assume UTF-8 support, so it makes sense to adjust these tools to explicitly reference StandardCharsets.UTF_8.

      (My specific use case: fixuppandoc replaces special characters in Markdown sources like ® with ??. It's inconvenient to have to encode all such characters as HTML entities.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlsmith Dan Smith
                Reporter:
                dlsmith Dan Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: