๐ง is the Unicode character MATHEMATICAL BOLD SCRIPT CAPITAL X, code point U+1D4E7 (decimal 120039) in the Mathematical Alphanumeric Symbols block, added in Unicode 3.1. In HTML write 𝓧, and in UTF-8 it is the 4 bytes F0 9D 93 A7.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D4E7 |
| Decimal | 120039 |
| UTF-8 bytes | F0 9D 93 A7 |
| UTF-16 (big-endian) | D835 DCE7 |
| UTF-32 | 0001D4E7 |
| HTML decimal | 𝓧 |
| HTML hex | 𝓧 |
| CSS | \1D4E7 |
| JavaScript | \u{1D4E7} or \uD835\uDCE7 |
| JSON | \uD835\uDCE7 |
| Python | \U0001D4E7 |
| Python by name | \N{MATHEMATICAL BOLD SCRIPT CAPITAL X} |
| Java, C# | \uD835\uDCE7 |
| Rust, Swift | \u{1D4E7} |
| Go, C, C++ | \U0001D4E7 |
| URL (percent-encoded) | %F0%9D%93%A7 |
JavaScript and JSON strings store text as UTF-16, so this character takes two code units (a surrogate pair) and "๐ง".length is 2. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | MATHEMATICAL BOLD SCRIPT CAPITAL X |
| Code point | U+1D4E7 (decimal 120039) |
| Block | Mathematical Alphanumeric Symbols (U+1D400โU+1D7FF) |
| General category | Lu: Uppercase letter |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Decomposition
MATHEMATICAL BOLD SCRIPT CAPITAL X has a compatibility decomposition (font) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Mathematical Alphanumeric Symbols
- ๐ U+1D4DF Mathematical Bold Script Capital P
- ๐ U+1D4E0 Mathematical Bold Script Capital Q
- ๐ก U+1D4E1 Mathematical Bold Script Capital R
- ๐ข U+1D4E2 Mathematical Bold Script Capital S
- ๐ฃ U+1D4E3 Mathematical Bold Script Capital T
- ๐ค U+1D4E4 Mathematical Bold Script Capital U
- ๐ฅ U+1D4E5 Mathematical Bold Script Capital V
- ๐ฆ U+1D4E6 Mathematical Bold Script Capital W
- ๐จ U+1D4E8 Mathematical Bold Script Capital Y
- ๐ฉ U+1D4E9 Mathematical Bold Script Capital Z
- ๐ช U+1D4EA Mathematical Bold Script Small A
- ๐ซ U+1D4EB Mathematical Bold Script Small B
- ๐ฌ U+1D4EC Mathematical Bold Script Small C
- ๐ญ U+1D4ED Mathematical Bold Script Small D
- ๐ฎ U+1D4EE Mathematical Bold Script Small E
- ๐ฏ U+1D4EF Mathematical Bold Script Small F
All 997 characters: Mathematical Alphanumeric Symbols.
Official reference
Questions people ask
- What is the HTML code for ๐ง?
- Use 𝓧 (decimal) or 𝓧 (hex).
- What is the UTF-8 encoding of U+1D4E7?
- F0 9D 93 A7 (hex), 4 bytes. In a URL it is %F0%9D%93%A7.
- How do I write U+1D4E7 in JavaScript or Python?
- JavaScript: \u{1D4E7} or \uD835\uDCE7. Python: \U0001D4E7.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in