最近有兩位顧問希望能在專案筆記中使用表情符號(emojis),因為人們習慣在簡訊中使用它們。我幾天前發現,有些表情符號已納入 Unicode 標準,因此如果您知道 Unicode 值或設定自動更正檔案,就可以在 Paratext 中輸入它們。
這些表情符號位於 Unicode 的基本多語言平面(BMP)之外,因此它們的編碼超過四位數,這要求您在 ALT-X 中輸入 8 位數字(使用前導 0)。對於自動更正,您必須輸入所謂的代理對(surrogate pair),即兩個特殊的 4 位 Unicode 值。
一些範例:
表情符號

其 Unicode 值為:1f600
自動更正中的代理對編碼為:\uD83D\uDE00
表情符號

其 Unicode 值為:1f44d
代理對編碼為 \uD83D\uDC4D
表情符號

其 Unicode 值為:1f606
代理對編碼為 \uD83D\uDE06
自動更正檔案範例:
:)–>\uD83D\uDE00
^t–>\uD83D\uDC4D
^)–>\uD83D\uDE06
完整的 Unicode 表情符號圖表:
https://unicode.org/emoji/charts/full-emoji-list.html#1f606
使用此頁面來計算自動更正檔案中的代理對編碼
http://russellcottrell.com/greek/utilities/SurrogatePairCalculator.htm
(在自動更正檔案中的每個編碼前加上 \u)
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)
機器翻譯自 English