Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dargones committed Jul 29, 2024
1 parent a38519c commit 9ae5402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acrostics/LanguageModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public LanguageModel(String filename) {
filename = filename + FILE_POSTFIX;
System.err.println("In constructor");
try {
Scanner sc = new Scanner(Paths.get(filename), StandardCharsets.UTF_8);
Scanner sc = new Scanner(Paths.get(filename), "UTF-8");
System.err.println("Reading file: " + filename);
System.err.println("Reading file: " + new File(filename).getAbsolutePath());
while (sc.hasNextLine()) {
Expand Down

0 comments on commit 9ae5402

Please sign in to comment.