π is the Unicode character TETRAGRAM FOR WATCH, code point U+1D344 (decimal 119620) in the Tai Xuan Jing Symbols block, added in Unicode 4.0. In HTML write 𝍄, and in UTF-8 it is the 4 bytes F0 9D 8D 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D344 |
| Decimal | 119620 |
| UTF-8 bytes | F0 9D 8D 84 |
| UTF-16 (big-endian) | D834 DF44 |
| UTF-32 | 0001D344 |
| HTML decimal | 𝍄 |
| HTML hex | 𝍄 |
| CSS | \1D344 |
| JavaScript | \u{1D344} or \uD834\uDF44 |
| JSON | \uD834\uDF44 |
| Python | \U0001D344 |
| Python by name | \N{TETRAGRAM FOR WATCH} |
| Java, C# | \uD834\uDF44 |
| Rust, Swift | \u{1D344} |
| Go, C, C++ | \U0001D344 |
| URL (percent-encoded) | %F0%9D%8D%84 |
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 | TETRAGRAM FOR WATCH |
| Code point | U+1D344 (decimal 119620) |
| Block | Tai Xuan Jing Symbols (U+1D300βU+1D35F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Tai Xuan Jing Symbols
- πΌ U+1D33C Tetragram For Diminishment
- π½ U+1D33D Tetragram For Closed Mouth
- πΎ U+1D33E Tetragram For Guardedness
- πΏ U+1D33F Tetragram For Gathering In
- π U+1D340 Tetragram For Massing
- π U+1D341 Tetragram For Accumulation
- π U+1D342 Tetragram For Embellishment
- π U+1D343 Tetragram For Doubt
- π U+1D345 Tetragram For Sinking
- π U+1D346 Tetragram For Inner
- π U+1D347 Tetragram For Departure
- π U+1D348 Tetragram For Darkening
- π U+1D349 Tetragram For Dimming
- π U+1D34A Tetragram For Exhaustion
- π U+1D34B Tetragram For Severance
- π U+1D34C Tetragram For Stoppage
All 87 characters: Tai Xuan Jing Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝍄 (decimal) or 𝍄 (hex).
- What is the UTF-8 encoding of U+1D344?
- F0 9D 8D 84 (hex), 4 bytes. In a URL it is %F0%9D%8D%84.
- How do I write U+1D344 in JavaScript or Python?
- JavaScript: \u{1D344} or \uD834\uDF44. Python: \U0001D344.
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