The source code of the JDK itself, not the input it accepts.
https://docs.oracle.com/javase/7/docs/technotes/tools/window...
-encoding encoding
Set the source file encoding name, such as EUC-JP and UTF-8. If
-encoding is not specified, the platform default converter is used.
where that last bit about the platform default converter is something I'd expect from a language that comes out of a squishier (like Python or POSIX) culture.