I'm building a personal project that saves information of a user of instagram in mysql database. I am using reactJS as client and node.js as server side technology. my problem is that sometimes some people have some icon images and symbols in their profile along with text. something like this for example : a bio with symbol
.
when I try to save this text in mysql database I get following Error message :
Incorrect string value: '\\xF0\\x9F\\x8D\\x93' for column 'biography' at row 1
it's good to add that my biography column character is set to utf8mb4
what do you suggest for solving this problem and saving this information in mysql database??