Is there an equivalence table to convert ASCII smileys to Unicode emoji(s)?
问题 I would like to find a table to convert the old school western ascii emoticons :-) into their modern unicode equivalent ☺. Do you know if there is one? 回答1: Not everyone agrees on what is what, but here is one such possible table mapping input ASCII-art emoticons to Unicode emoji. Both data elements are single quoted, so backslashes and single quotes are escaped. 'o/' => '👋', '</3' => '💔', '<3' => '💗', '8-D' => '😁', '8D' => '😁', ':-D' => '😁', '=-3' => '😁', '=-D' => '😁', '=3' => '😁', '=D' =>