π is the Unicode character BRAHMI NUMBER TEN, code point U+1105B (decimal 69723) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁛, and in UTF-8 it is the 4 bytes F0 91 81 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1105B |
| Decimal | 69723 |
| UTF-8 bytes | F0 91 81 9B |
| UTF-16 (big-endian) | D804 DC5B |
| UTF-32 | 0001105B |
| HTML decimal | 𑁛 |
| HTML hex | 𑁛 |
| CSS | \1105B |
| JavaScript | \u{1105B} or \uD804\uDC5B |
| JSON | \uD804\uDC5B |
| Python | \U0001105B |
| Python by name | \N{BRAHMI NUMBER TEN} |
| Java, C# | \uD804\uDC5B |
| Rust, Swift | \u{1105B} |
| Go, C, C++ | \U0001105B |
| URL (percent-encoded) | %F0%91%81%9B |
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 TEN |
| Code point | U+1105B (decimal 69723) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | No: Other number |
| Script | Brahmi |
| Bidirectional class | ON: Other neutral |
| Numeric value | 10 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- π U+11053 Brahmi Number Two
- π 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+1105C Brahmi Number Twenty
- π U+1105D Brahmi Number Thirty
- π U+1105E Brahmi Number Forty
- π 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
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+1105B?
- F0 91 81 9B (hex), 4 bytes. In a URL it is %F0%91%81%9B.
- How do I write U+1105B in JavaScript or Python?
- JavaScript: \u{1105B} or \uD804\uDC5B. Python: \U0001105B.
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