Skip to content

Commit

Permalink
Add missing encoding to scanner instance
Browse files Browse the repository at this point in the history
  • Loading branch information
farin committed Dec 12, 2021
1 parent a79e330 commit b5ee13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jcloisterzone/engine/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class Engine implements Runnable {
private ArrayList<String> tileDefinitions = new ArrayList<>();

public Engine(InputStream in, PrintStream out, PrintStream err, PrintStream log) {
this.in = new Scanner(in);
this.in = new Scanner(in, "UTF-8");
this.out = out;
this.err = err;
this.log = log;
Expand Down

0 comments on commit b5ee13b

Please sign in to comment.