duoduobingbing opened a new pull request, #4396:
URL: https://github.com/apache/netbeans/pull/4396

   Since JEP400/JDK18 
`Console.charset()`/`stdout.encoding`/`sun.stdout.encoding` is used by default 
for the console's encoding. Prior to this it was 
`Charset.defaultEncoding()`/`file.encoding`.
   
   This PR changes the order the encoding is inferred by to match this behavior.
   
   This should fix #3824 as well as #4261.
   
   As `stdout.encoding`/`sun.stdout.encoding` is settable, in the rare case 
that the default value should not match the desired Output encoding it can be 
changed via the corresponding commandline argument.
   
   Please see [this 
comment](https://github.com/apache/netbeans/issues/4261#issuecomment-1185669743)
 by @neilcsmith-net for further details
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to