π is the Unicode character PAHAWH HMONG DIGIT FIVE, code point U+16B55 (decimal 93013) in the Pahawh Hmong block, added in Unicode 7.0. In HTML write 𖭕, and in UTF-8 it is the 4 bytes F0 96 AD 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16B55 |
| Decimal | 93013 |
| UTF-8 bytes | F0 96 AD 95 |
| UTF-16 (big-endian) | D81A DF55 |
| UTF-32 | 00016B55 |
| HTML decimal | 𖭕 |
| HTML hex | 𖭕 |
| CSS | \16B55 |
| JavaScript | \u{16B55} or \uD81A\uDF55 |
| JSON | \uD81A\uDF55 |
| Python | \U00016B55 |
| Python by name | \N{PAHAWH HMONG DIGIT FIVE} |
| Java, C# | \uD81A\uDF55 |
| Rust, Swift | \u{16B55} |
| Go, C, C++ | \U00016B55 |
| URL (percent-encoded) | %F0%96%AD%95 |
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 | PAHAWH HMONG DIGIT FIVE |
| Code point | U+16B55 (decimal 93013) |
| Block | Pahawh Hmong (U+16B00βU+16B8F) |
| General category | Nd: Decimal digit |
| Script | Pahawh Hmong |
| Bidirectional class | L: Left-to-right |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Pahawh Hmong
- π U+16B43 Pahawh Hmong Sign Ib Yam
- π U+16B44 Pahawh Hmong Sign Xaus
- π U+16B45 Pahawh Hmong Sign Cim Tsov Rog
- π U+16B50 Pahawh Hmong Digit Zero
- π U+16B51 Pahawh Hmong Digit One
- π U+16B52 Pahawh Hmong Digit Two
- π U+16B53 Pahawh Hmong Digit Three
- π U+16B54 Pahawh Hmong Digit Four
- π U+16B56 Pahawh Hmong Digit Six
- π U+16B57 Pahawh Hmong Digit Seven
- π U+16B58 Pahawh Hmong Digit Eight
- π U+16B59 Pahawh Hmong Digit Nine
- π U+16B5B Pahawh Hmong Number Tens
- π U+16B5C Pahawh Hmong Number Hundreds
- π U+16B5D Pahawh Hmong Number Ten Thousands
- π U+16B5E Pahawh Hmong Number Millions
All 127 characters: Pahawh Hmong.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𖭕 (decimal) or 𖭕 (hex).
- What is the UTF-8 encoding of U+16B55?
- F0 96 AD 95 (hex), 4 bytes. In a URL it is %F0%96%AD%95.
- How do I write U+16B55 in JavaScript or Python?
- JavaScript: \u{16B55} or \uD81A\uDF55. Python: \U00016B55.
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