π is the Unicode character DINGBAT CIRCLED SANS-SERIF DIGIT ZERO, code point U+1F10B (decimal 127243) in the Enclosed Alphanumeric Supplement block, added in Unicode 7.0. In HTML write 🄋, and in UTF-8 it is the 4 bytes F0 9F 84 8B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F10B |
| Decimal | 127243 |
| UTF-8 bytes | F0 9F 84 8B |
| UTF-16 (big-endian) | D83C DD0B |
| UTF-32 | 0001F10B |
| HTML decimal | 🄋 |
| HTML hex | 🄋 |
| CSS | \1F10B |
| JavaScript | \u{1F10B} or \uD83C\uDD0B |
| JSON | \uD83C\uDD0B |
| Python | \U0001F10B |
| Python by name | \N{DINGBAT CIRCLED SANS-SERIF DIGIT ZERO} |
| Java, C# | \uD83C\uDD0B |
| Rust, Swift | \u{1F10B} |
| Go, C, C++ | \U0001F10B |
| URL (percent-encoded) | %F0%9F%84%8B |
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 | DINGBAT CIRCLED SANS-SERIF DIGIT ZERO |
| Code point | U+1F10B (decimal 127243) |
| Block | Enclosed Alphanumeric Supplement (U+1F100βU+1F1FF) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 0 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Enclosed Alphanumeric Supplement
- π U+1F103 Digit Two Comma
- π U+1F104 Digit Three Comma
- π U+1F105 Digit Four Comma
- π U+1F106 Digit Five Comma
- π U+1F107 Digit Six Comma
- π U+1F108 Digit Seven Comma
- π U+1F109 Digit Eight Comma
- π U+1F10A Digit Nine Comma
- π U+1F10C Dingbat Negative Circled Sans-Serif Digit Zero
- π U+1F10D Circled Zero With Slash
- π U+1F10E Circled Anticlockwise Arrow
- π U+1F10F Circled Dollar Sign With Overlaid Backslash
- π U+1F110 Parenthesized Latin Capital Letter A
- π U+1F111 Parenthesized Latin Capital Letter B
- π U+1F112 Parenthesized Latin Capital Letter C
- π U+1F113 Parenthesized Latin Capital Letter D
All 201 characters: Enclosed Alphanumeric Supplement.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 🄋 (decimal) or 🄋 (hex).
- What is the UTF-8 encoding of U+1F10B?
- F0 9F 84 8B (hex), 4 bytes. In a URL it is %F0%9F%84%8B.
- How do I write U+1F10B in JavaScript or Python?
- JavaScript: \u{1F10B} or \uD83C\uDD0B. Python: \U0001F10B.
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