KC Lemson

By KC Lemson [MS]

Blogs

Use the unicode smiley emoticon in email

  • Comments 8
  • Likes

When you type ":-)" in Word, it automatically corrects it into a smiley (J)[1], which is the letter J in the Wingdings font. If you look at the HTML, you'll see:

<span style='font-size:10.0pt;font-family:Wingdings;color:maroon'>J</span>

If you would rather that it use the unicode smiley emoticon instead, do this in Word:

1. Insert | Symbol
2. Type in 263A in the character code field
3. Click AutoCorrect
4. This will populate the bar in "replace foo with bar" with the unicode smiley, so type :-) in the 'foo' part and then click Replace and choose to overwrite the existing one

If you send it in an email or save it as HTML, you'll now see something like:

<span style='font-size:10.0pt;font-family:Arial;color:maroon'>☺</span>

[1] Personally, I think the inclusion of the smiley in word is a pretty smart thing[2]. I remember typing out letters to my friends in the late 80s, and I'd use the sideways smiley in my letter but then would spend two lines explaining that they had to "turn their head sideways" to see it.

[2] I also think it's really smart to have the insert \ symbol dialog have a direct entrypoint to autocorrect. Nice little touches like that really help make software great.

Comments
  • Hi,

    what do you mean by "character code field"?

  • Great info, KC. This is important because some computers don't have have Webdings installed, and those computers may happen to be owned by those who sometimes take things pretty seriously.

    For the real life comedy "Mr. Smiley and Dr. J", see my recent post: http://weblogs.asp.net/jgalloway/archive/2004/08/10/212356.aspx

  • Gyula: In the Insert | Symbol dialog, one of the text input fields is called 'character code', type in that field.

    Jon: Yep, that's exactly why this issue came up, Larry Osterman asked about it on the internal bloggers DL when we were discussing internet friendly markup.

  • I am embarrassed by the Heinlein allusion in the title but then I am embarrassed by the whole post so

  • I am embarrassed by the Heinlein allusion in the title but then I am embarrassed by the whole post so

  • I am embarrassed by the Heinlein allusion in the title but then I am embarrassed by the whole post so

  • PingBack from http://msdnrss.thecoderblogs.com/2007/08/18/who-are-the-heirs-of-bernard-r-miller-aka-u2323-when-you-say-that-2/

  • PingBack from http://msdnrss.thecoderblogs.com/2007/08/18/who-are-the-heirs-of-bernard-r-miller-aka-u2323-when-you-say-that/