$textAndEmoji = 'blablabla 😀 😁 😂 🤣 😃 😄 😅 😆 😉 😊 😋 😎 😍'; echo iconv("UTF-8", "ISO-8859-1//IGNORE", $textAndEmoji);