fhueske commented on a change in pull request #6710: [FLINK-10134] UTF-16
support for TextInputFormat bug fixed
URL: https://github.com/apache/flink/pull/6710#discussion_r221900961
##########
File path:
flink-java/src/main/java/org/apache/flink/api/java/io/TextInputFormat.java
##########
@@ -59,7 +59,12 @@ public TextInputFormat(Path filePath) {
//
--------------------------------------------------------------------------------------------
public String getCharsetName() {
- return charsetName;
+ String bomCharsetName = getBomCharsetName();
Review comment:
I think this logic should go into `DelimitedInputFormat`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services