kishida opened a new issue #3824:
URL: https://github.com/apache/netbeans/issues/3824


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   With JDK 18 as NetBeans runtime, the output window can't show multi-byte 
character correctly.
   
   
   ### How to reproduce
   
   Running the code below.
   ```
   public class Main {
       public static void main(String[] args) {
           System.out.println("こんにちは");
       }
   }
   ```
   
   It shows this.
   
![image](https://user-images.githubusercontent.com/1178746/159217759-2f230f1d-e6a3-4073-9cea-f7bf54233c53.png)
   
   
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Windows
   
   ### JDK
   
   JDK-18
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   Adding `-J-Dfile.encoding=COMPAT` for `netbeans_default_options` in 
netbeans.conf should be the solution with Java 18.
   
![image](https://user-images.githubusercontent.com/1178746/159218454-dc1cbdfe-c152-497d-8a81-9bb79359de70.png)
   
   But it affects with Java 17 incorrectly.
   
![image](https://user-images.githubusercontent.com/1178746/159218275-43cd77e2-6980-4d34-804d-a247c41e9b63.png)
   
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


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