On Thu, 21 Sep 2023 09:29:37 GMT, Claes Redestad <[email protected]> wrote:

> There are mysterious interactions with `-Dfile.encoding=COMPAT` and 
> `native.encoding` that I don't fully understand, but it does seem odd that 
> `URLDecoder/-Encoder` rely directly on the `StaticProperty.fileEncoding()` 
> string. I'll have to defer to @RogerRiggs and @AlanBateman if changing to 
> `Charset.defaultCharset()` is appropriate or not.

The deprecated encode/decode methods are specified to use the default charset.  
The motivation for the change in the PR is vague.

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

PR Comment: https://git.openjdk.org/jdk/pull/15353#issuecomment-1729211676

Reply via email to