1
0
Fork 0
mirror of https://gitlab.com/kauron/jstudy synced 2024-12-22 08:23:33 +01:00

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

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