Skip to content

Instantly share code, notes, and snippets.

@cdn
Created November 29, 2012 10:59
Show Gist options
  • Save cdn/4168206 to your computer and use it in GitHub Desktop.
Save cdn/4168206 to your computer and use it in GitHub Desktop.
Textual emoticons/smilies from various sources
0 Smiley ': )', ': ]'
:-) (:-) :) (-: ^^ :'-) =) ^.^ ^?^ ^-^ :-]
1 Winking '; )'
'-) ;-) ;) ‘-) `-)
2 Tongue
:-p :-P :p :P :b :-b
:p
3 Grin
:-D :D :d :-d (:-D :-> XD =D ;-D :))
4 Surprise O.o
:-o :-0 :-O :O :0 :o
5 Sad
:-( (:-( :( :-[ )-: :-c
6 Speechless
:-| :|
7 Angry;_;)
(:-& :@ :-@ :-t :-|| :-{ :-Z ?_?
8 Crying ':_ ('
:'( ;( ;-( :'-( ='( &.(.. (;_;) :' :*( :*-( :(( :..[ :`-( ;_;
:_ (
9 Sleepy (asleep)
l-) |-I |-)
[ Appears to be some deviation from (and within) the 1989/91 doc emoticon.txt ]
Streamer currently using (includes some rtl variants) :
$symbol_expanded = array(
array("smiley"=>"smiley", // smile
"emot"=>":)"
),
array("smiley"=>"smiley", "emot"=>"=)"),
array("smiley"=>"smiley", "emot"=>":-)"),
array('smiley' => 'smiley', 'emot' => '(:'),
array('smiley' => 'smiley', 'emot' => '(='),
array('smiley' => 'smiley', 'emot' => '(-:'),
array('smiley' => 'sad', 'emot' => ':('),
array('smiley' => 'sad', 'emot' => ':-('),
array('smiley' => 'sad', 'emot' => '):'),
array('smiley' => 'sad', 'emot' => ')-:'),
array("smiley"=>"grin", // laugh
"emot"=>":D"
),
array("smiley"=>"grin","emot"=>":-D"),
array('smiley' => 'grin', 'emot' => 'C:'),
array('smiley' => 'grin', 'emot' => 'C-:'),
array('smiley' => 'crying', 'emot' => ';('),
array('smiley' => 'crying', 'emot' => ';-('),
array('smiley' => 'sleepy', 'emot' => '|)'), // ?
array('smiley' => 'sleepy', 'emot' => '|-)'),
array('smiley' => 'speechless', 'emot' => ':|'),
array('smiley' => 'speechless', 'emot' => ':-|'),
array('smiley' => 'angry', 'emot' => ':@'),
array('smiley' => 'angry', 'emot' => ':-@'),
array('smiley' => 'angry', 'emot' => '@:'),
array('smiley' => 'angry', 'emot' => '@-:'),
array('smiley' => 'winking', 'emot' => ';)'),
array('smiley' => 'winking', 'emot' => ';-)'),
array('smiley' => 'tongue', 'emot' => ':b'), // :p :-p
array('smiley' => 'tongue', 'emot' => ':-b'),
array('smiley' => 'tongue', 'emot' => ':P'), // :b ? :B ??
array('smiley' => 'tongue', 'emot' => ':-P'),
array('smiley' => 'tongue', 'emot' => ';P'),
array('smiley' => 'tongue', 'emot' => ';-P'),
array('smiley' => 'tongue', 'emot' => 'd:'),
array('smiley' => 'tongue', 'emot' => 'd-:'),
array('smiley' => 'surprise', 'emot' => ':o'),
array('smiley' => 'surprise', 'emot' => ':-o'),
//array('smiley' => 'surprise', 'emot' => ':O'),
//array('smiley' => 'surprise', 'emot' => ':-O'),
array('smiley' => 'surprise', 'emot' => ':0'),
array('smiley' => 'surprise', 'emot' => ':-0'),
//array('smiley' => 'surprise', 'emot' => 'o_o'),
//array('smiley' => 'surprise', 'emot' => 'o_0'),
//array('smiley' => 'surprise', 'emot' => '0_o'),
//array('smiley' => 'surprise', 'emot' => 'o__o'),
//array('smiley' => 'surprise', 'emot' => 'o___o'),
// o_- -style may have multiple underscores
/*
Sources
http://stackoverflow.com/questions/11920023/php-parse-pidgin-emoticon-pack
http://www.greensmilies.com/smilie-lexikon/ [de]
http://www.cool-smileys.com/text-emoticons
http://www.textfiles.com/humor/COMPUTER/emoticon.txt
http://icons.sac-on.com/Tango-Emoticons/icondef.xml
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment