π is the Unicode character TETRAGRAM FOR KEEPING SMALL, code point U+1D30A (decimal 119562) in the Tai Xuan Jing Symbols block, added in Unicode 4.0. In HTML write 𝌊, and in UTF-8 it is the 4 bytes F0 9D 8C 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D30A |
| Decimal | 119562 |
| UTF-8 bytes | F0 9D 8C 8A |
| UTF-16 (big-endian) | D834 DF0A |
| UTF-32 | 0001D30A |
| HTML decimal | 𝌊 |
| HTML hex | 𝌊 |
| CSS | \1D30A |
| JavaScript | \u{1D30A} or \uD834\uDF0A |
| JSON | \uD834\uDF0A |
| Python | \U0001D30A |
| Python by name | \N{TETRAGRAM FOR KEEPING SMALL} |
| Java, C# | \uD834\uDF0A |
| Rust, Swift | \u{1D30A} |
| Go, C, C++ | \U0001D30A |
| URL (percent-encoded) | %F0%9D%8C%8A |
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 | TETRAGRAM FOR KEEPING SMALL |
| Code point | U+1D30A (decimal 119562) |
| Block | Tai Xuan Jing Symbols (U+1D300βU+1D35F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Tai Xuan Jing Symbols
- π U+1D302 Digram For Human Earth
- π U+1D303 Digram For Earthly Heaven
- π U+1D304 Digram For Earthly Human
- π U+1D305 Digram For Earth
- π U+1D306 Tetragram For Centre
- π U+1D307 Tetragram For Full Circle
- π U+1D308 Tetragram For Mired
- π U+1D309 Tetragram For Barrier
- π U+1D30B Tetragram For Contrariety
- π U+1D30C Tetragram For Ascent
- π U+1D30D Tetragram For Opposition
- π U+1D30E Tetragram For Branching Out
- π U+1D30F Tetragram For Defectiveness Or Distortion
- π U+1D310 Tetragram For Divergence
- π U+1D311 Tetragram For Youthfulness
- π U+1D312 Tetragram For Increase
All 87 characters: Tai Xuan Jing Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝌊 (decimal) or 𝌊 (hex).
- What is the UTF-8 encoding of U+1D30A?
- F0 9D 8C 8A (hex), 4 bytes. In a URL it is %F0%9D%8C%8A.
- How do I write U+1D30A in JavaScript or Python?
- JavaScript: \u{1D30A} or \uD834\uDF0A. Python: \U0001D30A.
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