π is the Unicode character BRAHMI NUMBER TWO, code point U+11053 (decimal 69715) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁓, and in UTF-8 it is the 4 bytes F0 91 81 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11053 |
| Decimal | 69715 |
| UTF-8 bytes | F0 91 81 93 |
| UTF-16 (big-endian) | D804 DC53 |
| UTF-32 | 00011053 |
| HTML decimal | 𑁓 |
| HTML hex | 𑁓 |
| CSS | \11053 |
| JavaScript | \u{11053} or \uD804\uDC53 |
| JSON | \uD804\uDC53 |
| Python | \U00011053 |
| Python by name | \N{BRAHMI NUMBER TWO} |
| Java, C# | \uD804\uDC53 |
| Rust, Swift | \u{11053} |
| Go, C, C++ | \U00011053 |
| URL (percent-encoded) | %F0%91%81%93 |
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 TWO |
| Code point | U+11053 (decimal 69715) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | No: Other number |
| Script | Brahmi |
| Bidirectional class | ON: Other neutral |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- π U+11047 Brahmi Danda
- π U+11048 Brahmi Double Danda
- π 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+11054 Brahmi Number Three
- π U+11055 Brahmi Number Four
- π 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
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+11053?
- F0 91 81 93 (hex), 4 bytes. In a URL it is %F0%91%81%93.
- How do I write U+11053 in JavaScript or Python?
- JavaScript: \u{11053} or \uD804\uDC53. Python: \U00011053.
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