π is the Unicode character BRAHMI NUMBER FOUR, code point U+11055 (decimal 69717) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁕, and in UTF-8 it is the 4 bytes F0 91 81 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11055 |
| Decimal | 69717 |
| UTF-8 bytes | F0 91 81 95 |
| UTF-16 (big-endian) | D804 DC55 |
| UTF-32 | 00011055 |
| HTML decimal | 𑁕 |
| HTML hex | 𑁕 |
| CSS | \11055 |
| JavaScript | \u{11055} or \uD804\uDC55 |
| JSON | \uD804\uDC55 |
| Python | \U00011055 |
| Python by name | \N{BRAHMI NUMBER FOUR} |
| Java, C# | \uD804\uDC55 |
| Rust, Swift | \u{11055} |
| Go, C, C++ | \U00011055 |
| URL (percent-encoded) | %F0%91%81%95 |
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 | BRAHMI NUMBER FOUR |
| Code point | U+11055 (decimal 69717) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | No: Other number |
| Script | Brahmi |
| Bidirectional class | ON: Other neutral |
| Numeric value | 4 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- π U+11049 Brahmi Punctuation Dot
- π U+1104A Brahmi Punctuation Double Dot
- π U+1104B Brahmi Punctuation Line
- π U+1104C Brahmi Punctuation Crescent Bar
- π U+1104D Brahmi Punctuation Lotus
- π U+11052 Brahmi Number One
- π U+11053 Brahmi Number Two
- π U+11054 Brahmi Number Three
- π U+11056 Brahmi Number Five
- π U+11057 Brahmi Number Six
- π U+11058 Brahmi Number Seven
- π U+11059 Brahmi Number Eight
- π U+1105A Brahmi Number Nine
- π U+1105B Brahmi Number Ten
- π U+1105C Brahmi Number Twenty
- π U+1105D Brahmi Number Thirty
All 115 characters: Brahmi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑁕 (decimal) or 𑁕 (hex).
- What is the UTF-8 encoding of U+11055?
- F0 91 81 95 (hex), 4 bytes. In a URL it is %F0%91%81%95.
- How do I write U+11055 in JavaScript or Python?
- JavaScript: \u{11055} or \uD804\uDC55. Python: \U00011055.
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