title: Node.js public static folder to serve js with utf-8 charset
body: <p>I´m using node.js and express to serve static JavaScript files to a single page application.
  In the node.js server code I use express.static to allow public access folder</p>
  
  <pre><code>app.use(express.static(__dirname + '/public/'));
  </code></pre>
  
  <p>In the client side, I use <code>$.getScript</code> to get the JavaScript files stored in the public folder, for example:</p>
  
  <pre><code>$.getScript("js/init.js");
  </code></pre>
  
  <p>When I try to get some JavaScript files that have letters with accents or some UTF-8 special character I get strange characters instead of what I want.</p>
  
  <p>Is there any way to set the charset when I define the public folder?</p>