mirror of
https://gitlab.com/kauron/jstudy
synced 2024-11-13 15:43:44 +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");
|
in = new Scanner(new FileInputStream(file), "ISO-8859-1");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
in = new Scanner(file);
|
in = new Scanner(new FileInputStream(file), "UTF-8");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
while (in.hasNextLine()) {
|
while (in.hasNextLine()) {
|
||||||
|
|
Loading…
Reference in a new issue