π is the Unicode character KAKTOVIK NUMERAL SEVENTEEN, code point U+1D2D1 (decimal 119505) 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 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D2D1 |
| Decimal | 119505 |
| UTF-8 bytes | F0 9D 8B 91 |
| UTF-16 (big-endian) | D834 DED1 |
| UTF-32 | 0001D2D1 |
| HTML decimal | 𝋑 |
| HTML hex | 𝋑 |
| CSS | \1D2D1 |
| JavaScript | \u{1D2D1} or \uD834\uDED1 |
| JSON | \uD834\uDED1 |
| Python | \U0001D2D1 |
| Python by name | \N{KAKTOVIK NUMERAL SEVENTEEN} |
| Java, C# | \uD834\uDED1 |
| Rust, Swift | \u{1D2D1} |
| Go, C, C++ | \U0001D2D1 |
| URL (percent-encoded) | %F0%9D%8B%91 |
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 SEVENTEEN |
| Code point | U+1D2D1 (decimal 119505) |
| Block | Kaktovik Numerals (U+1D2C0βU+1D2DF) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 17 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 15.0 |
Nearby in Kaktovik Numerals
- π U+1D2C9 Kaktovik Numeral Nine
- π U+1D2CA Kaktovik Numeral Ten
- π U+1D2CB Kaktovik Numeral Eleven
- π U+1D2CC Kaktovik Numeral Twelve
- π U+1D2CD Kaktovik Numeral Thirteen
- π U+1D2CE Kaktovik Numeral Fourteen
- π U+1D2CF Kaktovik Numeral Fifteen
- π U+1D2D0 Kaktovik Numeral Sixteen
- π U+1D2D2 Kaktovik Numeral Eighteen
- π U+1D2D3 Kaktovik Numeral Nineteen
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+1D2D1?
- F0 9D 8B 91 (hex), 4 bytes. In a URL it is %F0%9D%8B%91.
- How do I write U+1D2D1 in JavaScript or Python?
- JavaScript: \u{1D2D1} or \uD834\uDED1. Python: \U0001D2D1.
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