π is the Unicode character UGARITIC LETTER KHA, code point U+10383 (decimal 66435) in the Ugaritic block, added in Unicode 4.0. In HTML write 𐎃, and in UTF-8 it is the 4 bytes F0 90 8E 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10383 |
| Decimal | 66435 |
| UTF-8 bytes | F0 90 8E 83 |
| UTF-16 (big-endian) | D800 DF83 |
| UTF-32 | 00010383 |
| HTML decimal | 𐎃 |
| HTML hex | 𐎃 |
| CSS | \10383 |
| JavaScript | \u{10383} or \uD800\uDF83 |
| JSON | \uD800\uDF83 |
| Python | \U00010383 |
| Python by name | \N{UGARITIC LETTER KHA} |
| Java, C# | \uD800\uDF83 |
| Rust, Swift | \u{10383} |
| Go, C, C++ | \U00010383 |
| URL (percent-encoded) | %F0%90%8E%83 |
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 | UGARITIC LETTER KHA |
| Code point | U+10383 (decimal 66435) |
| Block | Ugaritic (U+10380βU+1039F) |
| General category | Lo: Other letter |
| Script | Ugaritic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Ugaritic
- π U+10380 Ugaritic Letter Alpa
- π U+10381 Ugaritic Letter Beta
- π U+10382 Ugaritic Letter Gamla
- π U+10384 Ugaritic Letter Delta
- π U+10385 Ugaritic Letter Ho
- π U+10386 Ugaritic Letter Wo
- π U+10387 Ugaritic Letter Zeta
- π U+10388 Ugaritic Letter Hota
- π U+10389 Ugaritic Letter Tet
- π U+1038A Ugaritic Letter Yod
- π U+1038B Ugaritic Letter Kaf
All 31 characters: Ugaritic.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐎃 (decimal) or 𐎃 (hex).
- What is the UTF-8 encoding of U+10383?
- F0 90 8E 83 (hex), 4 bytes. In a URL it is %F0%90%8E%83.
- How do I write U+10383 in JavaScript or Python?
- JavaScript: \u{10383} or \uD800\uDF83. Python: \U00010383.
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