title: fs.readFileSync fails while using sudo in Ubuntu
body: <p>I am trying to read a file in node.  It works fine with a normal node execution, but for this test I require <code>sudo</code> so I can access port 443.</p>
  
  <p>Here is a simple test  <code>tester.js</code>:</p>
  
  <pre><code>var fs = require('fs');
  
  fs.readFileSync('./tester.js', {encoding: 'utf-8'});
  
  console.log('Works!');
  </code></pre>
  
  <p>This code works for:</p>
  
  <pre><code>$ node tester.js     
  Works!
  </code></pre>
  
  <p>When running with sudo it yields an error.</p>
  
  <pre><code>sudo node tester.js
  
  buffer.js:440
        throw new Error('Unknown encoding');
              ^
  Error: Unknown encoding
      at Buffer.toString (buffer.js:440:13)
      at Object.fs.readFileSync (fs.js:236:33)
      at Object.&lt;anonymous&gt; (/home/tester.js:3:4)
      at Module._compile (module.js:449:26)
      at Object.Module._extensions..js (module.js:467:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Module.runMain (module.js:492:10)
      at process.startup.processNextTick.process._tickCallback (node.js:245:9)
  </code></pre>
  
  <p>Node Version: v0.10.26</p>
  
  <p>Ubuntu Ver  : 14.04 LTS</p>
  
  <p>This code works on other people's machines, its specific to me.</p>