Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 300
Name is carl Avatar asked Apr 07 '15 09:04

Name is carl


2 Answers

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'         => '๐Ÿ˜',
'B^D'        => '๐Ÿ˜',
'X-D'        => '๐Ÿ˜',
'XD'         => '๐Ÿ˜',
'x-D'        => '๐Ÿ˜',
'xD'         => '๐Ÿ˜',
':\')'       => '๐Ÿ˜‚',
':\'-)'      => '๐Ÿ˜‚',
':-))'       => '๐Ÿ˜ƒ',
'8)'         => '๐Ÿ˜„',
':)'         => '๐Ÿ˜„',
':-)'        => '๐Ÿ˜„',
':3'         => '๐Ÿ˜„',
':D'         => '๐Ÿ˜„',
':]'         => '๐Ÿ˜„',
':^)'        => '๐Ÿ˜„',
':c)'        => '๐Ÿ˜„',
':o)'        => '๐Ÿ˜„',
':}'         => '๐Ÿ˜„',
':ใฃ)'        => '๐Ÿ˜„',
'=)'         => '๐Ÿ˜„',
'=]'         => '๐Ÿ˜„',
'0:)'        => '๐Ÿ˜‡',
'0:-)'       => '๐Ÿ˜‡',
'0:-3'       => '๐Ÿ˜‡',
'0:3'        => '๐Ÿ˜‡',
'0;^)'       => '๐Ÿ˜‡',
'O:-)'       => '๐Ÿ˜‡',
'3:)'        => '๐Ÿ˜ˆ',
'3:-)'       => '๐Ÿ˜ˆ',
'}:)'        => '๐Ÿ˜ˆ',
'}:-)'       => '๐Ÿ˜ˆ',
'*)'         => '๐Ÿ˜‰',
'*-)'        => '๐Ÿ˜‰',
':-,'        => '๐Ÿ˜‰',
';)'         => '๐Ÿ˜‰',
';-)'        => '๐Ÿ˜‰',
';-]'        => '๐Ÿ˜‰',
';D'         => '๐Ÿ˜‰',
';]'         => '๐Ÿ˜‰',
';^)'        => '๐Ÿ˜‰',
':-|'        => '๐Ÿ˜',
':|'         => '๐Ÿ˜',
':('         => '๐Ÿ˜’',
':-('        => '๐Ÿ˜’',
':-<'        => '๐Ÿ˜’',
':-['        => '๐Ÿ˜’',
':-c'        => '๐Ÿ˜’',
':<'         => '๐Ÿ˜’',
':['         => '๐Ÿ˜’',
':c'         => '๐Ÿ˜’',
':{'         => '๐Ÿ˜’',
':ใฃC'        => '๐Ÿ˜’',
'%)'         => '๐Ÿ˜–',
'%-)'        => '๐Ÿ˜–',
':-P'        => '๐Ÿ˜œ',
':-b'        => '๐Ÿ˜œ',
':-p'        => '๐Ÿ˜œ',
':-รž'        => '๐Ÿ˜œ',
':-รพ'        => '๐Ÿ˜œ',
':P'         => '๐Ÿ˜œ',
':b'         => '๐Ÿ˜œ',
':p'         => '๐Ÿ˜œ',
':รž'         => '๐Ÿ˜œ',
':รพ'         => '๐Ÿ˜œ',
';('         => '๐Ÿ˜œ',
'=p'         => '๐Ÿ˜œ',
'X-P'        => '๐Ÿ˜œ',
'XP'         => '๐Ÿ˜œ',
'd:'         => '๐Ÿ˜œ',
'x-p'        => '๐Ÿ˜œ',
'xp'         => '๐Ÿ˜œ',
':-||'       => '๐Ÿ˜ ',
':@'         => '๐Ÿ˜ ',
':-.'        => '๐Ÿ˜ก',
':-/'        => '๐Ÿ˜ก',
':/'         => '๐Ÿ˜ก',
':L'         => '๐Ÿ˜ก',
':S'         => '๐Ÿ˜ก',
':\\'        => '๐Ÿ˜ก',
'=/'         => '๐Ÿ˜ก',
'=L'         => '๐Ÿ˜ก',
'=\\'        => '๐Ÿ˜ก',
':\'('       => '๐Ÿ˜ข',
':\'-('      => '๐Ÿ˜ข',
'^5'         => '๐Ÿ˜ค',
'^<_<'       => '๐Ÿ˜ค',
'o/\\o'      => '๐Ÿ˜ค',
'|-O'        => '๐Ÿ˜ซ',
'|;-)'       => '๐Ÿ˜ซ',
':###..'     => '๐Ÿ˜ฐ',
':-###..'    => '๐Ÿ˜ฐ',
'D-\':'      => '๐Ÿ˜ฑ',
'D8'         => '๐Ÿ˜ฑ',
'D:'         => '๐Ÿ˜ฑ',
'D:<'        => '๐Ÿ˜ฑ',
'D;'         => '๐Ÿ˜ฑ',
'D='         => '๐Ÿ˜ฑ',
'DX'         => '๐Ÿ˜ฑ',
'v.v'        => '๐Ÿ˜ฑ',
'8-0'        => '๐Ÿ˜ฒ',
':-O'        => '๐Ÿ˜ฒ',
':-o'        => '๐Ÿ˜ฒ',
':O'         => '๐Ÿ˜ฒ',
':o'         => '๐Ÿ˜ฒ',
'O-O'        => '๐Ÿ˜ฒ',
'O_O'        => '๐Ÿ˜ฒ',
'O_o'        => '๐Ÿ˜ฒ',
'o-o'        => '๐Ÿ˜ฒ',
'o_O'        => '๐Ÿ˜ฒ',
'o_o'        => '๐Ÿ˜ฒ',
':$'         => '๐Ÿ˜ณ',
'#-)'        => '๐Ÿ˜ต',
':#'         => '๐Ÿ˜ถ',
':&'         => '๐Ÿ˜ถ',
':-#'        => '๐Ÿ˜ถ',
':-&'        => '๐Ÿ˜ถ',
':-X'        => '๐Ÿ˜ถ',
':X'         => '๐Ÿ˜ถ',
':-J'        => '๐Ÿ˜ผ',
':*'         => '๐Ÿ˜ฝ',
':^*'        => '๐Ÿ˜ฝ',
'เฒ _เฒ '        => '๐Ÿ™…',
'*\\0/*'     => '๐Ÿ™†',
'\\o/'       => '๐Ÿ™†',
':>'         => '๐Ÿ˜„',
'>.<'        => '๐Ÿ˜ก',
'>:('        => '๐Ÿ˜ ',
'>:)'        => '๐Ÿ˜ˆ',
'>:-)'       => '๐Ÿ˜ˆ',
'>:/'        => '๐Ÿ˜ก',
'>:O'        => '๐Ÿ˜ฒ',
'>:P'        => '๐Ÿ˜œ',
'>:['        => '๐Ÿ˜’',
'>:\\'       => '๐Ÿ˜ก',
'>;)'        => '๐Ÿ˜ˆ',
'>_>^'       => '๐Ÿ˜ค',
like image 59
tchrist Avatar answered Sep 22 '22 14:09

tchrist


I used Name is carl links to generate this list:

{ ,:(: "๐Ÿ˜“", ,:): "๐Ÿ˜…", ,:-(: "๐Ÿ˜“", ,:-): "๐Ÿ˜…", 0:): "๐Ÿ˜‡", 0:-): "๐Ÿ˜‡", 8-): "๐Ÿ˜Ž", :"): "๐Ÿ˜Š", :$: "๐Ÿ˜’", :'(: "๐Ÿ˜ข", :'): "๐Ÿ˜‚", :'-(: "๐Ÿ˜ข", :'-): "๐Ÿ˜‚", :'-D: "๐Ÿ˜‚", :'D: "๐Ÿ˜‚", :(: "๐Ÿ˜ฆ", :): "๐Ÿ˜ƒ", :*: "๐Ÿ˜—", :,'(: "๐Ÿ˜ญ", :,'-(: "๐Ÿ˜ญ", :,(: "๐Ÿ˜ข", :,): "๐Ÿ˜‚", :,-(: "๐Ÿ˜ข", :,-): "๐Ÿ˜‚", :,-D: "๐Ÿ˜‚", :,D: "๐Ÿ˜‚", :-"): "๐Ÿ˜Š", :-$: "๐Ÿ˜’", :-(: "๐Ÿ˜ฆ", :-): "๐Ÿ˜ƒ", :-*: "๐Ÿ˜—", :-/: "๐Ÿ˜•", :-@: "๐Ÿ˜ก", :-D: "๐Ÿ˜„", :-o: "๐Ÿ˜ฎ", :-O: "๐Ÿ˜ฎ", :-P: "๐Ÿ˜›", :-S: "๐Ÿ˜’", :-Z: "๐Ÿ˜’", :-|: "๐Ÿ˜", :/: "๐Ÿ˜•", :@: "๐Ÿ˜ก", :D: "๐Ÿ˜„", :o: "๐Ÿ˜ฎ", :O: "๐Ÿ˜ฎ", :P: "๐Ÿ˜›", :s: "๐Ÿ˜’", :z: "๐Ÿ˜’", :|: "๐Ÿ˜", ;(: "๐Ÿ˜ญ", ;): "๐Ÿ˜‰", ;-(: "๐Ÿ˜ญ", ;-): "๐Ÿ˜‰", ]:): "๐Ÿ˜ˆ", ]:-): "๐Ÿ˜ˆ", B-): "๐Ÿ˜Ž", o:): "๐Ÿ˜‡", O:): "๐Ÿ˜‡", O:-): "๐Ÿ˜‡", o:-): "๐Ÿ˜‡", X-): "๐Ÿ˜†", x-): "๐Ÿ˜†" }

like image 42
Steve McMeen Avatar answered Sep 19 '22 14:09

Steve McMeen