[ 
https://issues.apache.org/jira/browse/NETBEANS-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463787#comment-17463787
 ] 

Aleksandr Dubinsky commented on NETBEANS-6298:
----------------------------------------------

It'd be helpful to see the entire output, including Maven Exec parameters.

 

The console encoding is mismatched. The application is using "x-mswin-936" 
while Netbeans terminal is using UTF-8. The sun.*.encoding VM options should 
have an effect, and did for me. Not sure what you're doing wrong.

 

It would be an easy fix to get the Netbeans console to use the system encoding. 
Hopefully some of the devs take notice.

> Match NetBeans console encoding to system/app console encoding
> --------------------------------------------------------------
>
>                 Key: NETBEANS-6298
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6298
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Editor
>    Affects Versions: 12.0, 12.1, 12.2, 12.3, 12.4, 12.5, 12.6, NB13, 13
>         Environment: Windows 10、JDK1.8.201、Maven3.6.0、Netbeans12.6、Project 
> encoding UTF-8
>            Reporter: luke
>            Priority: Blocker
>         Attachments: Garbled.gif, Garbled.png
>
>
> My Windows OS language is Simplified Chinese and the default OS encoding is 
> GBK. When I open a properties file or a text file, the editor shows the file 
> contents as garbled, if I add the parameter -J-Dfile.encoding=UTF-8, the 
> editor opens the file in UTF-8 encoding format and the file is not garbled, 
> but the console output is garbled.
> !Garbled.gif|width=1055,height=536!
> !Garbled.png|width=1542,height=843!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to