π is the Unicode character CARIAN LETTER C-39, code point U+102C6 (decimal 66246) in the Carian block, added in Unicode 5.1. In HTML write 𐋆, and in UTF-8 it is the 4 bytes F0 90 8B 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+102C6 |
| Decimal | 66246 |
| UTF-8 bytes | F0 90 8B 86 |
| UTF-16 (big-endian) | D800 DEC6 |
| UTF-32 | 000102C6 |
| HTML decimal | 𐋆 |
| HTML hex | 𐋆 |
| CSS | \102C6 |
| JavaScript | \u{102C6} or \uD800\uDEC6 |
| JSON | \uD800\uDEC6 |
| Python | \U000102C6 |
| Python by name | \N{CARIAN LETTER C-39} |
| Java, C# | \uD800\uDEC6 |
| Rust, Swift | \u{102C6} |
| Go, C, C++ | \U000102C6 |
| URL (percent-encoded) | %F0%90%8B%86 |
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 | CARIAN LETTER C-39 |
| Code point | U+102C6 (decimal 66246) |
| Block | Carian (U+102A0βU+102DF) |
| General category | Lo: Other letter |
| Script | Carian |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.1 |
Nearby in Carian
- πΎ U+102BE Carian Letter Nd
- πΏ U+102BF Carian Letter Uu
- π U+102C0 Carian Letter G
- π U+102C1 Carian Letter G2
- π U+102C2 Carian Letter St
- π U+102C3 Carian Letter St2
- π U+102C4 Carian Letter Ng
- π U+102C5 Carian Letter Ii
- π U+102C7 Carian Letter Tt
- π U+102C8 Carian Letter Uuu2
- π U+102C9 Carian Letter Rr
- π U+102CA Carian Letter Mb
- π U+102CB Carian Letter Mb2
- π U+102CC Carian Letter Mb3
- π U+102CD Carian Letter Mb4
- π U+102CE Carian Letter Ld2
All 49 characters: Carian.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐋆 (decimal) or 𐋆 (hex).
- What is the UTF-8 encoding of U+102C6?
- F0 90 8B 86 (hex), 4 bytes. In a URL it is %F0%90%8B%86.
- How do I write U+102C6 in JavaScript or Python?
- JavaScript: \u{102C6} or \uD800\uDEC6. Python: \U000102C6.
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