title: Reading from a file Russian characters(javaSE)
body: <p>Following code works with file having English content perfectly but not with Russian content. How to make it work for Russian as well?</p>
  
  <pre><code>try(BufferedReader fileOut = new BufferedReader(new FileReader(file))){
  
          for(String line; (line = fileOut.readLine()) != null; ){
              if(line.contains(commandString)) 
                  System.out.println(count + ": " + line);
              count++;
          }
  
      }
  </code></pre>
  
  <p><strong>UPD:</strong></p>
  
  <p>I tried to write: this only works when the line contains one word then outputs, for example: "привет" If a line contains more than one word is no output, for example "привет как дела"</p>
  
  <pre><code> new BufferedReader(new InputStreamReader(new FileInputStream(file), "Cp1251"))
  </code></pre>
  
  <p>p.s: thank very much for answers</p>