I have a suggestion. For all text fields that can hold HTML you can replace an emoji with &#<Unicode>;.
I realise that some fields this will not work on - in particular the title fields because they will not pass the HTML to the browser to interpret and also because if you let Drupal create the url of the content from the title Drupal will still crash.
I present a patch to this module that does this translation across the board - this stops the scrub functionality and so it is not right but gives the idea - should you wish to take this idea up.
I have found it useful for my client's site because they only want emojis in normal content text fields.
I look forward to comments.
Rory
Comments