8358809: Improve link to stdin.encoding from java.lang.IO
Reviewed-by: naoto
This commit is contained in:
parent
026975a1aa
commit
d024f58e61
@ -38,7 +38,7 @@ import java.nio.charset.StandardCharsets;
|
|||||||
* <p>
|
* <p>
|
||||||
* The {@link #readln()} and {@link #readln(String)} methods decode bytes read from
|
* The {@link #readln()} and {@link #readln(String)} methods decode bytes read from
|
||||||
* {@code System.in} into characters. The charset used for decoding is specified by the
|
* {@code System.in} into characters. The charset used for decoding is specified by the
|
||||||
* {@link System#getProperties stdin.encoding} property. If this property is not present,
|
* {@link System##stdin.encoding stdin.encoding} property. If this property is not present,
|
||||||
* or if the charset it names cannot be loaded, then UTF-8 is used instead. Decoding
|
* or if the charset it names cannot be loaded, then UTF-8 is used instead. Decoding
|
||||||
* always replaces malformed and unmappable byte sequences with the charset's default
|
* always replaces malformed and unmappable byte sequences with the charset's default
|
||||||
* replacement string.
|
* replacement string.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user