π is the Unicode character NYIAKENG PUACHUE HMONG LOGOGRAM NYAJ, code point U+1E14E (decimal 123214) in the Nyiakeng Puachue Hmong block, added in Unicode 12.0. In HTML write 𞅎, and in UTF-8 it is the 4 bytes F0 9E 85 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E14E |
| Decimal | 123214 |
| UTF-8 bytes | F0 9E 85 8E |
| UTF-16 (big-endian) | D838 DD4E |
| UTF-32 | 0001E14E |
| HTML decimal | 𞅎 |
| HTML hex | 𞅎 |
| CSS | \1E14E |
| JavaScript | \u{1E14E} or \uD838\uDD4E |
| JSON | \uD838\uDD4E |
| Python | \U0001E14E |
| Python by name | \N{NYIAKENG PUACHUE HMONG LOGOGRAM NYAJ} |
| Java, C# | \uD838\uDD4E |
| Rust, Swift | \u{1E14E} |
| Go, C, C++ | \U0001E14E |
| URL (percent-encoded) | %F0%9E%85%8E |
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 | NYIAKENG PUACHUE HMONG LOGOGRAM NYAJ |
| Code point | U+1E14E (decimal 123214) |
| Block | Nyiakeng Puachue Hmong (U+1E100βU+1E14F) |
| General category | Lo: Other letter |
| Script | Nyiakeng Puachue Hmong |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 12.0 |
Nearby in Nyiakeng Puachue Hmong
- π U+1E142 Nyiakeng Puachue Hmong Digit Two
- π U+1E143 Nyiakeng Puachue Hmong Digit Three
- π U+1E144 Nyiakeng Puachue Hmong Digit Four
- π U+1E145 Nyiakeng Puachue Hmong Digit Five
- π U+1E146 Nyiakeng Puachue Hmong Digit Six
- π U+1E147 Nyiakeng Puachue Hmong Digit Seven
- π U+1E148 Nyiakeng Puachue Hmong Digit Eight
- π U+1E149 Nyiakeng Puachue Hmong Digit Nine
- π U+1E14F Nyiakeng Puachue Hmong Circled Ca
All 71 characters: Nyiakeng Puachue Hmong.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𞅎 (decimal) or 𞅎 (hex).
- What is the UTF-8 encoding of U+1E14E?
- F0 9E 85 8E (hex), 4 bytes. In a URL it is %F0%9E%85%8E.
- How do I write U+1E14E in JavaScript or Python?
- JavaScript: \u{1E14E} or \uD838\uDD4E. Python: \U0001E14E.
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