We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stdout.encoding
1 parent 581bed8 commit 9000280Copy full SHA for 9000280
src/java.base/share/classes/java/io/Console.java
@@ -580,7 +580,8 @@ public void flush() {
580
* the {@code Console}.
581
* <p>
582
* The returned charset corresponds to the input and output source
583
- * (e.g., keyboard and/or display) specified by the host environment or user.
+ * (e.g., keyboard and/or display) specified by the host environment or user,
584
+ * which defaults to the one based on {@link System##stdout.encoding stdtout.encoding}.
585
* It may not necessarily be the same as the default charset returned from
586
* {@link java.nio.charset.Charset#defaultCharset() Charset.defaultCharset()}.
587
*
0 commit comments