24 ways to impress your friends

Jump to menu

Vote down?

Ryan Seddon

Instead of using that hideous conversion website, here’s a little javascript snippet that will convert a character to its unicode hex equivalent

“✌”.charCodeAt(0).toString(16); // “270c”