I have a very simple `DiscordBOT` doing some administrative tasks.
One of the features is (or should be) our "`emoji based polls`". We make a post, with emojis listing the options complete with arrows pointing down to the right "reaction" below the comment.

The idea was to make the bot (on command) duplicate the given reactions to the post, so that the admin can remove his/her reactions, and actually slap a reaction to the option they'd like to vote fore.

Everything works fine... until the error of:

```
 {"code": 10014, "message": "Unknown Emoji"}

```

The perl script, by the powers of LWP, **reads** the reactions from the test post as "`\ud83d\ude0f`", but putting them back "as is" just doesn't work.

Putting the same reaction back as "`\x{1F60F}`" instead works fine! (source: <https://codepoints.net/U+1F60F?lang=en> )

I don't mind, except ... how do I convert all those `\u-based emojis to \x-based ones? =P`
After some heavy googling and trial-and-error I've tried things such as "decode\_json/encode\_json" etc, but I can't seem to be able to make it work. I'm thinking I must missing something small and "obvious"...

Thanks for any assist!

Also open for other "outside the box" ideas if they solve the problem! =P