On Wed, 29 Dec 2021 15:39:39 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

> `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`.

This pull request has now been integrated.

Changeset: be3b3bd2
Author:    Michael Strauß <mstra...@openjdk.org>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/be3b3bd2a3af078b7c43a400014721efc6824efa
Stats:     31 lines in 2 files changed: 30 ins; 0 del; 1 mod

8279328: CssParser uses default charset instead of UTF-8

Reviewed-by: aghaisas

-------------

PR: https://git.openjdk.java.net/jfx/pull/705

Reply via email to