You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "ly269nva (via GitHub)" <gi...@apache.org> on 2026/03/11 10:35:09 UTC
Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]
ly269nva commented on issue #7751:
URL: https://github.com/apache/netbeans/issues/7751#issuecomment-4038210698
Charset.defaultCharset():UTF-8
file.encoding property:UTF-8
native.encoding property:null
sun.jnu.encoding property:UTF-8
stdout.encoding property:UTF-8
sun.stdout.encoding property:UTF-8
I also have this problems on netbeans20, i write System.out.println("png压缩完成"); it can output chinese in 'Test Results' tab, but Output garbled text in ‘Output’ tab. And no matter how I configure it in netbeans.exe, it doesn't work,example: netbeans_default_options="*** -J-Dfile.encoding=UTF-8 -J-Dsun.jnu.encoding=UTF-8 -J-Dnetbeans.output.encoding=UTF-8 -J-Dconsole.encoding=UTF-8 -J-Dsun.stdout.encoding=UTF-8 -J-Dstdout.encoding=UTF-8 -J-Dstderr.encoding=UTF-8 -J-Dmaven.opts=-Dfile.encoding=UTF-8 -J-Ddefault.charset=UTF-8 -J-Dclient.encoding.override=UTF-8"
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists