> Or there's no Java language, it's all just UTF-8 characters.
Some programming languages explicitly require UTF-8 in the language specification. Java is not one of them.
As of Java 18, it is: https://openjdk.org/jeps/400
As of Java 18, it is: https://openjdk.org/jeps/400