Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 2.01 KB

overview.md

File metadata and controls

45 lines (27 loc) · 2.01 KB

Overview

What are emojis?

"Emojis are a pictorial language used mainly in electronic messaging to express a variety of emotions, objects or ideas" source.

They can be in the form of unicode characters which can be used in text files - including scripts and HTML pages. They can also be used in the GitHub context as :name: and then the result rendered in markdown.

Note that the mapping of unicode codes to the symbols appears consistent across devices and browsers, but each platform can choose how to represent the image such as using more or less detail and color choices.

About emojis

  • Emoji on Wikipedia.
  • Emojis.wiki

    Emoji Encyclopedia,

    a full collection of 📙 Emoji Meanings, 👨‍💻 Data, 🙅‍♀️🍕🍔🍟 Combinations, Emoji Art and more. Easy to Copy and Paste!

  • Emoticons :) and their corresponding emojis.

For interest, see this blog post - Emoji skin modifier handshake. Aside from the skin color emojis discussed, this gives insight into how emoji/unicode standards are defined and implemented. Plus mention of nett new emojis or variations on existing ones, which is a reminder that emojis are not fixed.

Unicode emojis in coding

Emojis are part of the unicode range of characters. They can be inserted as characters, platform independent. Though different operating systems and applications might have different images for each emoji specification.

e.g.

  • 😃

Unicode characters including accented characters and emojis are suppored in Python 3. They can also be converted from unicode strings into bytes.

>>> '😃'
'😃'
>>> print(_)
😃
>>> '😃'.encode('utf-8')
b'\xf0\x9f\x98\x83'

See my Python Strings cheatsheet for more info.