diff --git a/src/main/java/de/aschoerk/java2rust/JavaConverter.java b/src/main/java/de/aschoerk/java2rust/JavaConverter.java index eb75ea4..1da83d0 100644 --- a/src/main/java/de/aschoerk/java2rust/JavaConverter.java +++ b/src/main/java/de/aschoerk/java2rust/JavaConverter.java @@ -68,7 +68,7 @@ private String convert2Rust(File file, String outputDir) throws IOException { output += camelToSnakeCase(outputSplit[0]) + EXTENSION; // read the content of the file - String text = Files.readString(path, StandardCharsets.ISO_8859_1); + String text = Files.readString(path); System.out.println("- "+output);