Не пойму почему кириллица из файла не отображается корректно.
public class Solution {
public static void main(String[] args) throws IOException, , FileNotFoundException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s = reader.readLine();
InputStream inStream = new FileInputStream(s);
while(inStream.available() > 0){
System.out.print((char)inStream.read());
}
reader.close();
inStream.close();
}
}