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:
parent
33385ea471
commit
09f5108f91
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue