Reading UTF-8 as default

This commit is contained in:
Carlos Galindo 2018-01-02 15:29:24 +01:00
parent 33385ea471
commit 09f5108f91
Signed by: kauron
GPG Key ID: 83E68706DEE119A3
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {