π is the Unicode character BYZANTINE MUSICAL SYMBOL DASEIA, code point U+1D001 (decimal 118785) in the Byzantine Musical Symbols block, added in Unicode 3.1. In HTML write 𝀁, and in UTF-8 it is the 4 bytes F0 9D 80 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D001 |
| Decimal | 118785 |
| UTF-8 bytes | F0 9D 80 81 |
| UTF-16 (big-endian) | D834 DC01 |
| UTF-32 | 0001D001 |
| HTML decimal | 𝀁 |
| HTML hex | 𝀁 |
| CSS | \1D001 |
| JavaScript | \u{1D001} or \uD834\uDC01 |
| JSON | \uD834\uDC01 |
| Python | \U0001D001 |
| Python by name | \N{BYZANTINE MUSICAL SYMBOL DASEIA} |
| Java, C# | \uD834\uDC01 |
| Rust, Swift | \u{1D001} |
| Go, C, C++ | \U0001D001 |
| URL (percent-encoded) | %F0%9D%80%81 |
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 | BYZANTINE MUSICAL SYMBOL DASEIA |
| Code point | U+1D001 (decimal 118785) |
| Block | Byzantine Musical Symbols (U+1D000βU+1D0FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Nearby in Byzantine Musical Symbols
- π U+1D000 Byzantine Musical Symbol Psili
- π U+1D002 Byzantine Musical Symbol Perispomeni
- π U+1D003 Byzantine Musical Symbol Oxeia Ekfonitikon
- π U+1D004 Byzantine Musical Symbol Oxeia Dipli
- π U+1D005 Byzantine Musical Symbol Vareia Ekfonitikon
- π U+1D006 Byzantine Musical Symbol Vareia Dipli
- π U+1D007 Byzantine Musical Symbol Kathisti
- π U+1D008 Byzantine Musical Symbol Syrmatiki
- π U+1D009 Byzantine Musical Symbol Paraklitiki
All 246 characters: Byzantine Musical Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝀁 (decimal) or 𝀁 (hex).
- What is the UTF-8 encoding of U+1D001?
- F0 9D 80 81 (hex), 4 bytes. In a URL it is %F0%9D%80%81.
- How do I write U+1D001 in JavaScript or Python?
- JavaScript: \u{1D001} or \uD834\uDC01. Python: \U0001D001.
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