π is the Unicode character BRAHMI LETTER UU, code point U+1100A (decimal 69642) in the Brahmi block, added in Unicode 6.0. In HTML write 𑀊, and in UTF-8 it is the 4 bytes F0 91 80 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1100A |
| Decimal | 69642 |
| UTF-8 bytes | F0 91 80 8A |
| UTF-16 (big-endian) | D804 DC0A |
| UTF-32 | 0001100A |
| HTML decimal | 𑀊 |
| HTML hex | 𑀊 |
| CSS | \1100A |
| JavaScript | \u{1100A} or \uD804\uDC0A |
| JSON | \uD804\uDC0A |
| Python | \U0001100A |
| Python by name | \N{BRAHMI LETTER UU} |
| Java, C# | \uD804\uDC0A |
| Rust, Swift | \u{1100A} |
| Go, C, C++ | \U0001100A |
| URL (percent-encoded) | %F0%91%80%8A |
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 LETTER UU |
| Code point | U+1100A (decimal 69642) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | Lo: Other letter |
| Script | Brahmi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- U+11002 Brahmi Sign Visarga
- π U+11003 Brahmi Sign Jihvamuliya
- π U+11004 Brahmi Sign Upadhmaniya
- π U+11005 Brahmi Letter A
- π U+11006 Brahmi Letter Aa
- π U+11007 Brahmi Letter I
- π U+11008 Brahmi Letter Ii
- π U+11009 Brahmi Letter U
- π U+1100B Brahmi Letter Vocalic R
- π U+1100C Brahmi Letter Vocalic Rr
- π U+1100D Brahmi Letter Vocalic L
- π U+1100E Brahmi Letter Vocalic Ll
- π U+1100F Brahmi Letter E
- π U+11010 Brahmi Letter Ai
- π U+11011 Brahmi Letter O
- π U+11012 Brahmi Letter Au
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+1100A?
- F0 91 80 8A (hex), 4 bytes. In a URL it is %F0%91%80%8A.
- How do I write U+1100A in JavaScript or Python?
- JavaScript: \u{1100A} or \uD804\uDC0A. Python: \U0001100A.
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