π is the Unicode character KAKTOVIK NUMERAL ZERO, code point U+1D2C0 (decimal 119488) in the Kaktovik Numerals block, added in Unicode 15.0. In HTML write 𝋀, and in UTF-8 it is the 4 bytes F0 9D 8B 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D2C0 |
| Decimal | 119488 |
| UTF-8 bytes | F0 9D 8B 80 |
| UTF-16 (big-endian) | D834 DEC0 |
| UTF-32 | 0001D2C0 |
| HTML decimal | 𝋀 |
| HTML hex | 𝋀 |
| CSS | \1D2C0 |
| JavaScript | \u{1D2C0} or \uD834\uDEC0 |
| JSON | \uD834\uDEC0 |
| Python | \U0001D2C0 |
| Python by name | \N{KAKTOVIK NUMERAL ZERO} |
| Java, C# | \uD834\uDEC0 |
| Rust, Swift | \u{1D2C0} |
| Go, C, C++ | \U0001D2C0 |
| URL (percent-encoded) | %F0%9D%8B%80 |
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 | KAKTOVIK NUMERAL ZERO |
| Code point | U+1D2C0 (decimal 119488) |
| Block | Kaktovik Numerals (U+1D2C0βU+1D2DF) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 0 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 15.0 |
Nearby in Kaktovik Numerals
- π U+1D2C1 Kaktovik Numeral One
- π U+1D2C2 Kaktovik Numeral Two
- π U+1D2C3 Kaktovik Numeral Three
- π U+1D2C4 Kaktovik Numeral Four
- π U+1D2C5 Kaktovik Numeral Five
- π U+1D2C6 Kaktovik Numeral Six
- π U+1D2C7 Kaktovik Numeral Seven
- π U+1D2C8 Kaktovik Numeral Eight
All 20 characters: Kaktovik Numerals.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝋀 (decimal) or 𝋀 (hex).
- What is the UTF-8 encoding of U+1D2C0?
- F0 9D 8B 80 (hex), 4 bytes. In a URL it is %F0%9D%8B%80.
- How do I write U+1D2C0 in JavaScript or Python?
- JavaScript: \u{1D2C0} or \uD834\uDEC0. Python: \U0001D2C0.
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