Skip to content

Commit d009c3e

Browse files
authored
MySQL file reader now assumes UTF8 (#15709)
1 parent 5d35c7f commit d009c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/util/MySqlSslConnectionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static String checkOrCreatePassword(final JsonNode encryption) {
7979

8080
private static String readFile(final File file) {
8181
try {
82-
BufferedReader reader = new BufferedReader(new FileReader(file));
82+
BufferedReader reader = new BufferedReader(new FileReader(file, StandardCharsets.UTF_8));
8383
String currentLine = reader.readLine();
8484
reader.close();
8585
return currentLine;

0 commit comments

Comments
 (0)