https://github.com/apache/netbeans/pull/3265

On 04.10.21 14:44, Michael Bien wrote:
its probably known but just in case it fell under the radar:

JDK 18 makes UTF-8 default, but the flag -Dfile.encoding=COMPAT can be used to force the legacy behavior.

17+ has a new "native.encoding" property which can be used to figure out what the platform encoding is (since Charset.defaultCharset() is going to return UTF-8), if there is a need for that.


article on JEP 400: https://inside.java/2021/10/04/the-default-charset-jep400/

best regards,

michael



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



  • UTF-8 Michael Bien
    • Re: UTF-8 Michael Bien

Reply via email to