|
1 | 1 | [ |
2 | 2 | /* |
3 | | - See Also: Links For Finding Unicode Characters |
| 3 | + See Also: |
| 4 | + |
| 5 | + Links For Finding Unicode Characters |
| 6 | + |
4 | 7 | - https://www.compart.com/en/unicode/block |
5 | 8 | - https://emojipedia.org/zero-width-joiner |
6 | 9 | - https://emojipedia.org/emoji-zwj-sequence |
7 | 10 |
|
8 | | - See also: Related functions |
9 | | - - Character.ToNumber() |
10 | | - - Character.FromNumber() |
| 11 | + Related Functions |
| 12 | + |
| 13 | + - Character.ToNumber() : Converts string to codepoint |
| 14 | + - Character.FromNumber() : Converts codepoint to string |
| 15 | + |
11 | 16 | */ |
12 | 17 |
|
13 | 18 | // extra aliases |
14 | | - CrLf = LineEnding.CrLf, |
15 | | - NL = LineEnding.Lf, |
16 | | - ZWJ = Zero.Width.Joiner, |
| 19 | + CrLf = LineEnding.CrLf, |
| 20 | + NL = LineEnding.Lf, |
| 21 | + ZWJ = Zero.Width.Joiner, |
17 | 22 |
|
18 | 23 | // whitespace and control chars |
19 | | - Indent = " ", |
20 | | - LineEnding.Cr = "#(cr)", // is \r |
21 | | - LineEnding.Lf = "#(lf)", // is \n |
22 | | - LineEnding.CrLf = "#(cr,lf)", // is \r\n |
23 | | - Tab = "#(tab)", // is \t |
24 | | - Space = " ", // is " " |
25 | | - Zero.Width.Joiner = "#(200d)", // is zwj |
| 24 | + Indent = " ", |
| 25 | + LineEnding.Cr = "#(cr)", // is \r |
| 26 | + LineEnding.Lf = "#(lf)", // is \n |
| 27 | + LineEnding.CrLf = "#(cr,lf)", // is \r\n |
| 28 | + Tab = "#(tab)", // is \t |
| 29 | + Space = " ", // is " " |
| 30 | + Zero.Width.Joiner = "#(200d)", // is zwj |
| 31 | + Zero.Width.Space = "#(200b)", // is zws |
| 32 | + NullString = "#(0000)", // is \0 |
26 | 33 |
|
27 | 34 | // regular characters |
28 | | - Triangle.Right.Small = "#(25b8)", // is ▸ |
| 35 | + Triangle.Right.Small = "#(25b8)", // is ▸ |
29 | 36 |
|
30 | 37 | /* |
31 | 38 | symbols: used to replace control characters and escape sequences with safe to print symbols |
|
43 | 50 | Symbol.RecordSeparator = "#(241e)", // is ␞ |
44 | 51 | Symbol.UnitSeparator = "#(241f)", // is ␟ |
45 | 52 |
|
| 53 | + Bullet = "#(2022)", // is • |
| 54 | + |
| 55 | + Emoji.ThumbsUp = "#(0001f44d)", // is 👍 |
| 56 | + Emoji.ThumbsDown = "#(0001f44e)", // is 👎 |
| 57 | + |
46 | 58 | Emoji.Monkey = "#(0001f412)" // is 🐒 |
47 | 59 |
|
48 | 60 | /* Powershell |
|
0 commit comments