mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-08 07:11:32 +01:00
DroidFish: Fixed build of eco.dat on platforms where UTF-8 is not
standard.
This commit is contained in:
@@ -34,7 +34,7 @@ public class FileUtil {
|
||||
public static String[] readFile(String filename) throws IOException {
|
||||
ArrayList<String> ret = new ArrayList<String>();
|
||||
InputStream inStream = new FileInputStream(filename);
|
||||
InputStreamReader inFile = new InputStreamReader(inStream);
|
||||
InputStreamReader inFile = new InputStreamReader(inStream, "UTF-8");
|
||||
BufferedReader inBuf = new BufferedReader(inFile);
|
||||
String line;
|
||||
while ((line = inBuf.readLine()) != null)
|
||||
|
||||
Reference in New Issue
Block a user