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