matthiasblaesing opened a new pull request, #6271: URL: https://github.com/apache/netbeans/pull/6271
It was observed that on a german windows installation with JDK 17 the terminal correctly shows german umlauts, but fails on input. The terminal subsystem has code to detect the charset used in the terminal. Investigation then leads to StreamTerm, where the InputStream for data coming from the terminal is adapted with the detected charset, while the user input is ran through an OutputStreamWriter without charset set. Therefore the user input is encoded with Cp1250 (default on german windows setups). This leads to garbled input. The fix applies the same logik, that is already applied to the InputStream, also to the OutputStream. Before:  After:  -- 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
