UTF-8 ......
This commit is contained in:
parent
9b522318e9
commit
234a215e21
@ -22,7 +22,7 @@ public class ResourceLoader {
|
||||
ClassLoader classLoader = getClass().getClassLoader();
|
||||
InputStream file = classLoader.getResourceAsStream(fileName);
|
||||
|
||||
try (Scanner scanner = new Scanner(file)) {
|
||||
try (Scanner scanner = new Scanner(file, "UTF-8")) {
|
||||
|
||||
while (scanner.hasNextLine()) {
|
||||
String line = scanner.nextLine();
|
||||
|
Loading…
Reference in New Issue
Block a user