π is the Unicode character BRAHMI PUNCTUATION CRESCENT BAR, code point U+1104C (decimal 69708) in the Brahmi block, added in Unicode 6.0. In HTML write 𑁌, and in UTF-8 it is the 4 bytes F0 91 81 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1104C |
| Decimal | 69708 |
| UTF-8 bytes | F0 91 81 8C |
| UTF-16 (big-endian) | D804 DC4C |
| UTF-32 | 0001104C |
| HTML decimal | 𑁌 |
| HTML hex | 𑁌 |
| CSS | \1104C |
| JavaScript | \u{1104C} or \uD804\uDC4C |
| JSON | \uD804\uDC4C |
| Python | \U0001104C |
| Python by name | \N{BRAHMI PUNCTUATION CRESCENT BAR} |
| Java, C# | \uD804\uDC4C |
| Rust, Swift | \u{1104C} |
| Go, C, C++ | \U0001104C |
| URL (percent-encoded) | %F0%91%81%8C |
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 CRESCENT BAR |
| Code point | U+1104C (decimal 69708) |
| 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+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+1104A Brahmi Punctuation Double Dot
- π U+1104B Brahmi Punctuation Line
- π 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
- π U+11057 Brahmi Number Six
- π U+11058 Brahmi Number Seven
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+1104C?
- F0 91 81 8C (hex), 4 bytes. In a URL it is %F0%91%81%8C.
- How do I write U+1104C in JavaScript or Python?
- JavaScript: \u{1104C} or \uD804\uDC4C. Python: \U0001104C.
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