diff --git a/docs/scripting/syntax/unicode.mdx b/docs/scripting/syntax/unicode.mdx new file mode 100644 index 00000000..626a0d02 --- /dev/null +++ b/docs/scripting/syntax/unicode.mdx @@ -0,0 +1,109 @@ +--- +title: Supported Unicode +alias: + - unicode +description: "Officially-supported Unicode characters" +--- + +Although many unicode symbols display in-game, unsupported unicode characters are rendered using a fallback font in the client, instead of the game's primary White Rabbit font. The fallback font often breaks cursor alignment or word-wrapping. They are also not guaranteed to work on all platforms. Unsupported unicode characters are best avoided in script and chat outputs. + +The following characters are used officially in-game and thus are expected to work properly. Some of the characters use codepoints that unicode assigns to existing symbols. These are noted after the hex codes. + +| Char | Escape | Original Unicode | +| ---- | ------------- | ----------------------------------------------------------------------- | +| a | \u0061 / \x61 | ASCII a; an example of a regular character | +| ¡ | \u00A1 / \xA1 | Inverted exclamation point | +| ¢ | \u00A2 / \xA2 | Cents sign | +| ¤ | \u00A4 / \xA4 | Currency symbol | +| ¦ | \u00A6 / \xA6 | Bar with split | +| § | \u00A7 / \xA7 | Section symbol | +| ¨ | \u00A8 / \xA8 | Diaresis | +| © | \u00A9 / \xA9 | Copyright symbol | +| ª | \u00AA / \xAA | Superscript a | +| « | \u00AB / \xAB | Left-pointing double angle quotation mark, used for colorable backticks | +| Á | \u00C1 / \xC1 | A with accute accent | +| Ã | \u00C3 / \xC3 | A with tilde | +| È | \u00C8 / \xC8 | E with grave accent | +| É | \u00C9 / \xC9 | E with accute accent | +| ‐ | \u2010 | | +| ‑ | \u2011 | | +| ‒ | \u2012 | | +| – | \u2013 | | +| — | \u2014 | | +| ← | \u2190 | | +| ↑ | \u2191 | | +| → | \u2192 | | +| ↓ | \u2193 | | +| ↔ | \u2194 | | +| ↕ | \u2195 | | +| ↖ | \u2196 | | +| ↗ | \u2197 | | +| ↘ | \u2198 | | +| ↙ | \u2199 | | +| ⌽ | \u233D | APL FUNCTIONAL SYMBOL CIRCLE STILE, used for Bits | +| ━ | \u2501 | | +| ┃ | \u2503 | | +| ┏ | \u250F | | +| ┓ | \u2513 | | +| ┗ | \u2517 | | +| ┛ | \u251B | | +| ┣ | \u2523 | | +| ┫ | \u252B | | +| ┳ | \u2533 | | +| ┻ | \u253B | | +| ╋ | \u254B | | +| ═ | \u2550 | | +| ║ | \u2551 | | +| ╒ | \u2552 | | +| ╓ | \u2553 | | +| ╔ | \u2554 | | +| ╕ | \u2555 | | +| ╖ | \u2556 | | +| ╗ | \u2557 | | +| ╘ | \u2558 | | +| ╙ | \u2559 | | +| ╚ | \u255A | | +| ╛ | \u255B | | +| ╜ | \u255C | | +| ╝ | \u255D | | +| ╞ | \u255E | | +| ╟ | \u255F | | +| ╠ | \u2560 | | +| ╡ | \u2561 | | +| ╢ | \u2562 | | +| ╣ | \u2563 | | +| ╤ | \u2564 | | +| ╥ | \u2565 | | +| ╦ | \u2566 | | +| ╧ | \u2567 | | +| ╨ | \u2568 | | +| ╩ | \u2569 | | +| ╪ | \u256A | | +| ╫ | \u256B | | +| ╬ | \u256C | | +| ▀ | \u2580 | | +| ▁ | \u2581 | | +| ▂ | \u2582 | | +| ▃ | \u2583 | | +| ▄ | \u2584 | | +| ▅ | \u2585 | | +| ▆ | \u2586 | | +| ▇ | \u2587 | | +| █ | \u2588 | | +| ▉ | \u2589 | | +| ▊ | \u258A | | +| ▋ | \u258B | | +| ▌ | \u258C | | +| ▍ | \u258D | | +| ▎ | \u258E | | +| ▏ | \u258F | | +| ▐ | \u2590 | | +| ░ | \u2591 | | +| ▒ | \u2592 | | +| ▓ | \u2593 | | +| ▔ | \u2594 | | +| ▕ | \u2595 | | +| ◢ | \u25E2 | | +| ◣ | \u25E3 | | +| ◤ | \u25E4 | | +| ◥ | \u25E5 | |