如何使用PHP将html实体表情符号发送/转换为UTF-8

I'm using the OneSignal/emoji-picker library to input emojis in a form and then submit that form to a PHP script which then sends the input via PHPMailer.

The emoji input coming from the form is in html entity format like so:

😄😭😄

Then when sending this out it obviously is read and displayed literally as a string in e-mail clients rather than displaying the UTF-8 emojis images.

How do I convert the html entities into the UTF-8 that e-mail clients can understand?

I tried the built in PHP function htmlentities() the ouput is a strange format I've not seen before 😂😂😂 doe's anyone know how to do this?