lkishalmi commented on issue #6486: URL: https://github.com/apache/netbeans/issues/6486#issuecomment-1793487103
Well, just tested NetBeans 20-rc3 (I do not think that it would be any different in NetBeans 19), with JDK 21, that Cyrillic alphabet is displayed correctly in NetBeans, on Linux with UTF-8. Java changed it's default encoding to UTF-8 from JDK-18. The garbage you are seeing are UTF-8 charachters. You can set the default file encoding on windows by adding `-J-Dfile.encoding=UTF-8` to the NetBeans command line arguments. Windows has a long history using it's own codepages instead of UniCode, so that could be an issue for non-Latin alphabets. Solution use UniCode, (UTF-8) everywhere. -- 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
