XuQianJin-Stars commented on issue #6710: [FLINK-10134] UTF-16 support for TextInputFormat bug fixed URL: https://github.com/apache/flink/pull/6710#issuecomment-422263671 1. I add file bom charset check in FileInputFormat.java 2. I add the bomCharsetName variable in DelimitedInputFormat.java. 3.In TextInputFormat, if the current encoding conflicts with the BOM encoding, the BOM encoding is the standard, and if no conflict occurs, the set encoding is the standard.
---------------------------------------------------------------- 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
