diff --git a/src/main/java/es/kauron/jstudy/model/TestItem.java b/src/main/java/es/kauron/jstudy/model/TestItem.java index 0966d2f..8e4444e 100644 --- a/src/main/java/es/kauron/jstudy/model/TestItem.java +++ b/src/main/java/es/kauron/jstudy/model/TestItem.java @@ -77,7 +77,7 @@ public class TestItem { in = new Scanner(new FileInputStream(file), "ISO-8859-1"); break; default: - in = new Scanner(file); + in = new Scanner(new FileInputStream(file), "UTF-8"); break; } while (in.hasNextLine()) {