You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "kovwolff (via GitHub)" <gi...@apache.org> on 2024/09/13 10:09:40 UTC

[I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

kovwolff opened a new issue, #7751:
URL: https://github.com/apache/netbeans/issues/7751

   ### Apache NetBeans version
   
   Apache NetBeans 22
   
   ### What happened
   
   German Umlaute does not correctly displayed on Netbeans Console. Seems to be the same es Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=579383
   
   
   ### Language / Project Type / NetBeans Component
   
   Java
   
   ### How to reproduce
   
   public class BugSample {
     public static void main( String[] args ) {
       System.out.println( "<äöüÄÖÜß>");
     }
   }
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   JDK 21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


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


Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

Posted by "ly269nva (via GitHub)" <gi...@apache.org>.
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


Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net closed issue #7751: UTF-8 output on Netbeans console with Java > 18
URL: https://github.com/apache/netbeans/issues/7751


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


Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7751:
URL: https://github.com/apache/netbeans/issues/7751#issuecomment-2348583572

   Duplicate of #4771  In general, not a bug.  See that issue for how to configure the project, JDK, or OS to handle this.


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


Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

Posted by "kovwolff (via GitHub)" <gi...@apache.org>.
kovwolff commented on issue #7751:
URL: https://github.com/apache/netbeans/issues/7751#issuecomment-2349201056

   I still think it's a missconfig in Netbeans. If i run the project on the command line, the output ist right. If i run the project inside Netbeans, the output (console) is wrong.


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


Re: [I] UTF-8 output on Netbeans console with Java > 18 [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7751:
URL: https://github.com/apache/netbeans/issues/7751#issuecomment-2349416566

   Please share the output from the "Anything else" section of #4771 on your setup, both in the console and the IDE.
   
   ```java
           System.out.println("Charset.defaultCharset(): " + Charset.defaultCharset());
           System.out.println("file.encoding property:" + System.getProperty("file.encoding"));
           System.out.println("native.encoding property:" + System.getProperty("native.encoding"));
           System.out.println("sun.jnu.encoding property:" + System.getProperty("sun.jnu.encoding"));
           System.out.println("stdout.encoding property:" + System.getProperty("stdout.encoding"));
           System.out.println("sun.stdout.encoding property:" + System.getProperty("sun.stdout.encoding"));
   ```


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