π is the Unicode character BRAHMI PUNCTUATION DOUBLE DOT, code point U+1104A (decimal 69706) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁊, and in UTF-8 it is the 4 bytes F0 91 81 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1104A |
| Decimal | 69706 |
| UTF-8 bytes | F0 91 81 8A |
| UTF-16 (big-endian) | D804 DC4A |
| UTF-32 | 0001104A |
| HTML decimal | 𑁊 |
| HTML hex | 𑁊 |
| CSS | \1104A |
| JavaScript | \u{1104A} or \uD804\uDC4A |
| JSON | \uD804\uDC4A |
| Python | \U0001104A |
| Python by name | \N{BRAHMI PUNCTUATION DOUBLE DOT} |
| Java, C# | \uD804\uDC4A |
| Rust, Swift | \u{1104A} |
| Go, C, C++ | \U0001104A |
| URL (percent-encoded) | %F0%91%81%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 PUNCTUATION DOUBLE DOT |
| Code point | U+1104A (decimal 69706) |
| 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+11042 Brahmi Vowel Sign E
- U+11043 Brahmi Vowel Sign Ai
- U+11044 Brahmi Vowel Sign O
- 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+1104B Brahmi Punctuation Line
- π U+1104C Brahmi Punctuation Crescent Bar
- π U+1104D Brahmi Punctuation Lotus
- π 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
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+1104A?
- F0 91 81 8A (hex), 4 bytes. In a URL it is %F0%91%81%8A.
- How do I write U+1104A in JavaScript or Python?
- JavaScript: \u{1104A} or \uD804\uDC4A. Python: \U0001104A.
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