Skip to content

Commit

Permalink
Merge pull request #15 from paultuckey/use-default-encoding
Browse files Browse the repository at this point in the history
fix: use default java file encoding
  • Loading branch information
cguz authored May 30, 2023
2 parents 0eeff95 + cab070c commit f284bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/aschoerk/java2rust/JavaConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f284bf5

Please sign in to comment.