Jump to content

Paste format: Difference between revisions

Itac85v2 (talk | contribs)
Initial draft
Itac85v2 (talk | contribs)
m Changed "I" to "you"
Line 39: Line 39:
OWOT uses the Unicode code point range <code>U+20F1</code> to <code>U+20FF</code> to store text decorations. The specific code point to be used is determined by encoding a character's formatting in binary (offset by a hex value of <code>0x20F0</code>). The bit order for each decoration is the same as it appears on the [https://wiki.ourworldoftext.com/images/2/20/Text_decorations_menu_2024_03_24.png official client's text decorations menu], and setting a bit to <code>1</code> enables a decoration.
OWOT uses the Unicode code point range <code>U+20F1</code> to <code>U+20FF</code> to store text decorations. The specific code point to be used is determined by encoding a character's formatting in binary (offset by a hex value of <code>0x20F0</code>). The bit order for each decoration is the same as it appears on the [https://wiki.ourworldoftext.com/images/2/20/Text_decorations_menu_2024_03_24.png official client's text decorations menu], and setting a bit to <code>1</code> enables a decoration.


Example: If I wanted to make the character "A" appear bold and italicized, I would write <code>A\u20FC</code>.
Example: If you wanted to make the character "A" appear bold and italicized, you would write <code>A\u20FC</code>.