MySQL file reader now assumes UTF8 (#15709)
This commit is contained in:
@@ -79,7 +79,7 @@ public class MySqlSslConnectionUtils {
|
||||
|
||||
private static String readFile(final File file) {
|
||||
try {
|
||||
BufferedReader reader = new BufferedReader(new FileReader(file));
|
||||
BufferedReader reader = new BufferedReader(new FileReader(file, StandardCharsets.UTF_8));
|
||||
String currentLine = reader.readLine();
|
||||
reader.close();
|
||||
return currentLine;
|
||||
|
||||
Reference in New Issue
Block a user