As discussed here:
The code needs to be modified to exclude emojis. I edited the code in the previous post to reflect that change.
The rest of the post still applies.