"Uncaught St11range_error" when certain characters are used in HTML elements

Hello, I am getting a strange error whereby if I have certain special characters inside an HTML label, I get the following error:

Specifically, this happens if I use the following: :performing_arts:

Might there be a special way to surround these characters with escape characters so that this error doesn’t pop up?