manraj82 manraj82 - 2 years ago 439
Javascript Question

How to remove emoji code using javascript?

How do I remove emoji code using JavaScript? I thought I had taken care of it using the code below, but I still have characters like

Answer Source

The range you have selected is the Private Use Area, containing non-standard characters. Carriers used to encode emoji as different, inconsistent values inside this range.

More recently, the emoji have been given standardised 'unified' codepoints. Many of these are outside of the Basic Multilingual Plane, in the block U+1F300–U+1F5FF, including your example

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download