title: nodejs synchronization read large file line by line?
body: <p>I have a large file (utf8). I know <code>fs.createReadStream</code> can create stream to read a large file, but not synchronized. So i try to use <code>fs.readSync</code>, but read text is broken like <code>"迈�"</code>.</p>
  
  <pre><code>var fs = require('fs');
  var util = require('util');
  var textPath = __dirname + '/people-daily.txt';   
  var fd = fs.openSync(textPath, "r");
  var text = fs.readSync(fd, 4, 0, "utf8");
  console.log(util.inspect(text, true, null));
  </code></pre>