π‘ is the Unicode character COUNTING ROD UNIT DIGIT TWO, code point U+1D361 (decimal 119649) in the Counting Rod Numerals block, added in Unicode 5.0. In HTML write 𝍡, and in UTF-8 it is the 4 bytes F0 9D 8D A1.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D361 |
| Decimal | 119649 |
| UTF-8 bytes | F0 9D 8D A1 |
| UTF-16 (big-endian) | D834 DF61 |
| UTF-32 | 0001D361 |
| HTML decimal | 𝍡 |
| HTML hex | 𝍡 |
| CSS | \1D361 |
| JavaScript | \u{1D361} or \uD834\uDF61 |
| JSON | \uD834\uDF61 |
| Python | \U0001D361 |
| Python by name | \N{COUNTING ROD UNIT DIGIT TWO} |
| Java, C# | \uD834\uDF61 |
| Rust, Swift | \u{1D361} |
| Go, C, C++ | \U0001D361 |
| URL (percent-encoded) | %F0%9D%8D%A1 |
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 | COUNTING ROD UNIT DIGIT TWO |
| Code point | U+1D361 (decimal 119649) |
| Block | Counting Rod Numerals (U+1D360βU+1D37F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Counting Rod Numerals
- π U+1D360 Counting Rod Unit Digit One
- π’ U+1D362 Counting Rod Unit Digit Three
- π£ U+1D363 Counting Rod Unit Digit Four
- π€ U+1D364 Counting Rod Unit Digit Five
- π₯ U+1D365 Counting Rod Unit Digit Six
- π¦ U+1D366 Counting Rod Unit Digit Seven
- π§ U+1D367 Counting Rod Unit Digit Eight
- π¨ U+1D368 Counting Rod Unit Digit Nine
- π© U+1D369 Counting Rod Tens Digit One
All 25 characters: Counting Rod Numerals.
Official reference
Questions people ask
- What is the HTML code for π‘?
- Use 𝍡 (decimal) or 𝍡 (hex).
- What is the UTF-8 encoding of U+1D361?
- F0 9D 8D A1 (hex), 4 bytes. In a URL it is %F0%9D%8D%A1.
- How do I write U+1D361 in JavaScript or Python?
- JavaScript: \u{1D361} or \uD834\uDF61. Python: \U0001D361.
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