title: Node.js Equivalent for htmlspecialchars in php
body: <p>i'm actually getting data from my mysql database in which there is text with accents like </p>
  
  <blockquote>
    <p>" é è à â ê... "</p>
  </blockquote>
  
  <p>but when i render it to my ejs file with node.js it shows me </p>
  
  <blockquote>
    <p>"h�lo" for "hélo"</p>
  </blockquote>
  
  <p>.
  The problem is easyli solver with php and the function <code>htmlspecialchars(str);</code> 
  is there any equivalent for this function in Node ?</p>
  
  <p>Thank you </p>