TL;DR: Starting JDK 18, UTF-8 is the default charset across platforms. Make sure to test your applications, especially if you are running them on Windows.
Finally, after all the years! Default Charset behaving weird on Windows was always a nuisance #java#utf8#programming