Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How smiles like :) or :-) are recognized and then sent via emails?

I got an email with a smiley and when I tried to replied to it, the symbol was :-) ; but when I want to send the same smiley. I always use :)

Is it that my system (linux) understands both the formats and then converts into the smiley face when I am reading it??

Who does all this work?

[please redirect if this is not the correct forum]

share|improve this question

migrated from programmers.stackexchange.com Jul 29 '11 at 20:02

This question came from our site for professional programmers interested in conceptual questions about software development.

closed as not a real question by random Jul 29 '11 at 20:32

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
The term is "Emoticon": en.wikipedia.org/wiki/Emoticon *<8^) –  Ƭᴇcʜιᴇ007 Jul 29 '11 at 20:13

2 Answers 2

up vote 5 down vote accepted

As far as I know, they are only recognized/manipulated by the client program - whatever you are using to send and receive and read email will change it to a picture (if that is what you are seeing). The actual data that gets sent probably looks like :), and not like a picture.

share|improve this answer
    
or a unicode character ☺ –  Robert Harvey Jul 29 '11 at 20:33
1  
@Robert Harvey: Do email clients really translate :) to ? That's even more annoying than substituting images! –  FrustratedWithFormsDesigner Jul 29 '11 at 20:38
    
I'm pretty sure that's how Outlook does it. –  Robert Harvey Jul 29 '11 at 20:38
    
@Robert Harvey: Ah, I have Outlook configured to treat all email as plain text, now I have one more reason to keep it that way! –  FrustratedWithFormsDesigner Jul 29 '11 at 20:41

This isn't so much a thing associated to e-mail itself. E-mail sent using the SMTP protocol doesn't really have any guidelines on 'smilies' in general. The graphic associated to what you're seeing is typically interpreted by the software you are using. Software these days can range from the mail program you're using on your client machine, or the web-based e-mail provider you're using to access your e-mail, such as Yahoo! (ymail), Google mail and so on. Your mileage may vary based off of the service you're using, which is why the actual graphic displayed for the various character combinations that represent smilies, can change.

The same process is used by most online chatting systems, such as America Online Instant Messenger, ICQ (I Seek you) and various others.

The process of actually translating the character combinations into smilies may vary based upon implementation, but usually they involve a search within the message that replaces the simple textual grouping (say , :)) with the graphical representation you see. Given the simplicity of such a task in HTML, odds are the e-mail is being rendered using hypertext markup language, or HTML.

Doing this through code however would require a lot more in depth description that goes beyond the scope of this website.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.