-
Sub-task
-
Resolution: Delivered
-
P4
-
25
A new system property `stdin.encoding` has been added. This property contains the name of the recommended Charset for reading character data from `System.in`, for example, when using `InputStreamReader` or `Scanner`. By default, the property is set in a system-specific fashion based on querying the OS and user environment. Note that its value may differ from the value of the `file.encoding` property (the default Charset) and the value of the `native.encoding` property. The value of `stdin.encoding` may be overridden to be UTF-8 by providing the argument `-Dstdin.encoding=UTF-8` on the command line.