HyukjinKwon commented on code in PR #46509: URL: https://github.com/apache/spark/pull/46509#discussion_r1596434994
########## sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/session/HiveSessionImpl.java: ########## @@ -171,7 +172,7 @@ protected BufferedReader loadFile(String fileName) throws IOException { FileInputStream initStream = null; BufferedReader bufferedReader = null; initStream = new FileInputStream(fileName); - bufferedReader = new BufferedReader(new InputStreamReader(initStream)); + bufferedReader = new BufferedReader(new InputStreamReader(initStream, StandardCharsets.UTF_8)); Review Comment: Yeah, I wouldn't touch here. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org