π is the Unicode character PAHAWH HMONG DIGIT SIX, code point U+16B56 (decimal 93014) 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 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16B56 |
| Decimal | 93014 |
| UTF-8 bytes | F0 96 AD 96 |
| UTF-16 (big-endian) | D81A DF56 |
| UTF-32 | 00016B56 |
| HTML decimal | 𖭖 |
| HTML hex | 𖭖 |
| CSS | \16B56 |
| JavaScript | \u{16B56} or \uD81A\uDF56 |
| JSON | \uD81A\uDF56 |
| Python | \U00016B56 |
| Python by name | \N{PAHAWH HMONG DIGIT SIX} |
| Java, C# | \uD81A\uDF56 |
| Rust, Swift | \u{16B56} |
| Go, C, C++ | \U00016B56 |
| URL (percent-encoded) | %F0%96%AD%96 |
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 SIX |
| Code point | U+16B56 (decimal 93014) |
| Block | Pahawh Hmong (U+16B00βU+16B8F) |
| General category | Nd: Decimal digit |
| Script | Pahawh Hmong |
| Bidirectional class | L: Left-to-right |
| Numeric value | 6 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Pahawh Hmong
- π 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+16B55 Pahawh Hmong Digit Five
- π 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
- π U+16B5F Pahawh Hmong Number Hundred 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+16B56?
- F0 96 AD 96 (hex), 4 bytes. In a URL it is %F0%96%AD%96.
- How do I write U+16B56 in JavaScript or Python?
- JavaScript: \u{16B56} or \uD81A\uDF56. Python: \U00016B56.
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