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

CssParser uses default charset instead of UTF-8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx18
    • jfx17
    • javafx
    • None

      `CssParser.parse(URL)` is specified to assume UTF-8 file encoding, but (implicitly) uses the default charset to read the file, potentially resulting in incorrect interpretation of the file content.

      This can be fixed by explicitly specifying the UTF-8 charset for `InputStreamReader`.

            mstrauss Michael Strauß
            mstrauss Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: