express.js emojis are not displayed


Im currently trying to develope a express webserver. The server sends a site with emojis, but the emojis are just shown as ??. Code:

send = send + "<div id='Website'>🌐 <a href='"+webseite+"'>Website</a></div>"

And it looks like this:

?? Website

Any way to fix this?


If you you NodeJS with express, you can use :

Il will stringify your emoji

Answered By – Jonathan Delean

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published