Skip to content

Commit

Permalink
MySQL file reader now assumes UTF8 (#15709)
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler authored Aug 17, 2022
1 parent 5d35c7f commit d009c3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static String checkOrCreatePassword(final JsonNode encryption) {

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;
Expand Down

0 comments on commit d009c3e

Please sign in to comment.