π is the Unicode character UGARITIC WORD DIVIDER, code point U+1039F (decimal 66463) in the Ugaritic block, added in Unicode 4.0. In HTML write 𐎟, and in UTF-8 it is the 4 bytes F0 90 8E 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1039F |
| Decimal | 66463 |
| UTF-8 bytes | F0 90 8E 9F |
| UTF-16 (big-endian) | D800 DF9F |
| UTF-32 | 0001039F |
| HTML decimal | 𐎟 |
| HTML hex | 𐎟 |
| CSS | \1039F |
| JavaScript | \u{1039F} or \uD800\uDF9F |
| JSON | \uD800\uDF9F |
| Python | \U0001039F |
| Python by name | \N{UGARITIC WORD DIVIDER} |
| Java, C# | \uD800\uDF9F |
| Rust, Swift | \u{1039F} |
| Go, C, C++ | \U0001039F |
| URL (percent-encoded) | %F0%90%8E%9F |
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 WORD DIVIDER |
| Code point | U+1039F (decimal 66463) |
| Block | Ugaritic (U+10380βU+1039F) |
| General category | Po: Other punctuation |
| 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+10396 Ugaritic Letter Qopa
- π U+10397 Ugaritic Letter Rasha
- π U+10398 Ugaritic Letter Thanna
- π U+10399 Ugaritic Letter Ghain
- π U+1039A Ugaritic Letter To
- π U+1039B Ugaritic Letter I
- π U+1039C Ugaritic Letter U
- π U+1039D Ugaritic Letter Ssu
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+1039F?
- F0 90 8E 9F (hex), 4 bytes. In a URL it is %F0%90%8E%9F.
- How do I write U+1039F in JavaScript or Python?
- JavaScript: \u{1039F} or \uD800\uDF9F. Python: \U0001039F.
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