|
@@ -1,8 +1,8 @@
|
|
|
package ui.view;
|
|
|
import java.io.BufferedReader;
|
|
|
-import java.io.File;
|
|
|
import java.io.FileReader;
|
|
|
import java.io.IOException;
|
|
|
+import java.nio.charset.Charset;
|
|
|
|
|
|
public class Languages {
|
|
|
|
|
@@ -124,7 +124,7 @@ public class Languages {
|
|
|
//store line in Array, # initializes Comments
|
|
|
if (line.isEmpty() || line.startsWith("#"))
|
|
|
continue;
|
|
|
- langArr[lineNumber]=line;
|
|
|
+ langArr[lineNumber]=new String(line.getBytes(Charset.defaultCharset()),"UTF-8");
|
|
|
lineNumber++;
|
|
|
}
|
|
|
//missing translations? -> english
|