π is the Unicode character BRAHMI NUMBER FORTY, code point U+1105E (decimal 69726) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁞, and in UTF-8 it is the 4 bytes F0 91 81 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1105E |
| Decimal | 69726 |
| UTF-8 bytes | F0 91 81 9E |
| UTF-16 (big-endian) | D804 DC5E |
| UTF-32 | 0001105E |
| HTML decimal | 𑁞 |
| HTML hex | 𑁞 |
| CSS | \1105E |
| JavaScript | \u{1105E} or \uD804\uDC5E |
| JSON | \uD804\uDC5E |
| Python | \U0001105E |
| Python by name | \N{BRAHMI NUMBER FORTY} |
| Java, C# | \uD804\uDC5E |
| Rust, Swift | \u{1105E} |
| Go, C, C++ | \U0001105E |
| URL (percent-encoded) | %F0%91%81%9E |
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 FORTY |
| Code point | U+1105E (decimal 69726) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | No: Other number |
| Script | Brahmi |
| Bidirectional class | ON: Other neutral |
| Numeric value | 40 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- π 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
- π U+1105F Brahmi Number Fifty
- π U+11060 Brahmi Number Sixty
- π‘ U+11061 Brahmi Number Seventy
- π’ U+11062 Brahmi Number Eighty
- π£ U+11063 Brahmi Number Ninety
- π€ U+11064 Brahmi Number One Hundred
- π₯ U+11065 Brahmi Number One Thousand
- π¦ U+11066 Brahmi Digit Zero
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+1105E?
- F0 91 81 9E (hex), 4 bytes. In a URL it is %F0%91%81%9E.
- How do I write U+1105E in JavaScript or Python?
- JavaScript: \u{1105E} or \uD804\uDC5E. Python: \U0001105E.
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