Skip to content

Commit be1f5cb

Browse files
evantahleredgao
authored andcommitted
Postgres file reader now assumes UTF8 (#15697)
* Postgres file reader assumes UTF8 * fix build :/ Co-authored-by: Edward Gao <[email protected]>
1 parent 62a25de commit be1f5cb

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/PostgresSslConnectionUtils.java

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

8686
private static String readFile(final File file) {
8787
try {
88-
BufferedReader reader = new BufferedReader(new FileReader(file));
88+
BufferedReader reader = new BufferedReader(new FileReader(file, StandardCharsets.UTF_8));
8989
String currentLine = reader.readLine();
9090
reader.close();
9191
return currentLine;

0 commit comments

Comments
 (0)