How to create emoticons in chat

Does anyone have any idea how to create emoticon in chat using the unity GUI?

One way to do it would be to use a font with special character sets and then when someone types something you do a search for emoticon strings and replace the string with the special character. Doing it with pictures would be a little more complicated but similar