Two consultants have recently wished for the ability to use emojis in project notes, since people are used to using them in text messages. I discovered the other day that some Emojis are in the Unicode standard and so they can be entered in Paratext if you know the Unicode value or set up an autocorrect file.
The emojis are outside the Basic MultiLingual Plane (BMP) of Unicode, so they have more than four digits in their code, which requires you to type 8 digits (use leading 0s) for ALT-X. For an autocorrect, you have to enter what is called the surrogate pair, which is two special 4 digit Unicode values.
Some examples:
The emoji
has a Unicode value of: 1f600
The surrogate pair code in autocorrect is: \uD83D\uDE00
The emoji
has a Unicode value of:1f44d
The surrogate code pair is \uD83D\uDC4D
The emoji
has a Unicode value of: 1f606
The surrogate code pair is \uD83D\uDE06
A sample Autocorrect file:
:)–>\uD83D\uDE00
^t–>\uD83D\uDC4D
^)–>\uD83D\uDE06
The full chart of Unicode emojis:
https://unicode.org/emoji/charts/full-emoji-list.html#1f606
Use this page to calculate the surrogate pair codes for an autocorrect file
http://russellcottrell.com/greek/utilities/SurrogatePairCalculator.htm
(add \u before each code in the Autocorrect file)