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`. The added test passes on my Mac without changing CssParser.java. It may be due to the default charset being UTF-8. Which platform did you test on? ------------- PR: https://git.openjdk.java.net/jfx/pull/705