π is the Unicode character BRAHMI PUNCTUATION LOTUS, code point U+1104D (decimal 69709) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁍, and in UTF-8 it is the 4 bytes F0 91 81 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1104D |
| Decimal | 69709 |
| UTF-8 bytes | F0 91 81 8D |
| UTF-16 (big-endian) | D804 DC4D |
| UTF-32 | 0001104D |
| HTML decimal | 𑁍 |
| HTML hex | 𑁍 |
| CSS | \1104D |
| JavaScript | \u{1104D} or \uD804\uDC4D |
| JSON | \uD804\uDC4D |
| Python | \U0001104D |
| Python by name | \N{BRAHMI PUNCTUATION LOTUS} |
| Java, C# | \uD804\uDC4D |
| Rust, Swift | \u{1104D} |
| Go, C, C++ | \U0001104D |
| URL (percent-encoded) | %F0%91%81%8D |
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 PUNCTUATION LOTUS |
| Code point | U+1104D (decimal 69709) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | Po: Other punctuation |
| 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+11045 Brahmi Vowel Sign Au
- U+11046 Brahmi Virama
- π 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+11052 Brahmi Number One
- π 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
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+1104D?
- F0 91 81 8D (hex), 4 bytes. In a URL it is %F0%91%81%8D.
- How do I write U+1104D in JavaScript or Python?
- JavaScript: \u{1104D} or \uD804\uDC4D. Python: \U0001104D.
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