I\'d like to display the \"Open Lock\" character in my HTML link text.
If I do it directly it shows up correctly with 🔒<
🔒<
You can put the character there directly, as a quoted string, e.g.
$("#myID").text('