frizquierdo commented on issue #7880:
URL: https://github.com/apache/netbeans/issues/7880#issuecomment-2434156663

   > what is your output for:
   > 
   > ```java
   >     public static void main(String[] args) {
   >         System.out.println(Runtime.version());
   >         System.out.println();
   >         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"));
   >     }
   > ```
   > 
   > what happens if you create a new text file with netbeans, then paste your 
sample String into the file?
   
   Out:
   ```
   Runtime: 17.0.12+7-Ubuntu-1ubuntu222.04
   
   Charset.defaultCharset(): UTF-8
   file.encoding property:UTF-8
   native.encoding property:UTF-8
   sun.jnu.encoding property:UTF-8
   stdout.encoding property:null
   sun.stdout.encoding property:null
   ```
   
   New files, same problem.


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