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:
   
   ![Bildschirmfoto vom 2023-07-29 
15-18-31](https://github.com/apache/netbeans/assets/2179736/e57b90bd-66ae-4f1e-9cd1-c0b575724271)
   
   
   After:
   
   ![Bildschirmfoto vom 2023-07-29 
15-09-43](https://github.com/apache/netbeans/assets/2179736/751e0237-bd7c-42f2-b458-53b1eed035ac)
   
   


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