virajjasani commented on pull request #3515:
URL: https://github.com/apache/hadoop/pull/3515#issuecomment-933382469
Thanks @aajisaka. As of today, the default implementation that we are using
is default charset only. For instance:
```
@Deprecated
public static List<String> readLines(final InputStream input) throws
IOException {
return readLines(input, Charset.defaultCharset());
}
```
```
@Deprecated
public static void copy(final InputStream input, final Writer output)
throws IOException {
copy(input, output, Charset.defaultCharset());
}
```
Hence, I thought we should stick to it. Although default is going to use
"UTF-8" underneath, if we use `StandardCharsets.UTF_8` right away, isn't it an
incompatible change in the behaviour of these APIs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]