π¦ is the Unicode emoji CRAB, code point U+1F980 (decimal 129408) in the Supplemental Symbols and Pictographs block, added in Unicode 8.0. In HTML write 🦀, and in UTF-8 it is the 4 bytes F0 9F A6 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F980 |
| Decimal | 129408 |
| UTF-8 bytes | F0 9F A6 80 |
| UTF-16 (big-endian) | D83E DD80 |
| UTF-32 | 0001F980 |
| HTML decimal | 🦀 |
| HTML hex | 🦀 |
| CSS | \1F980 |
| JavaScript | \u{1F980} or \uD83E\uDD80 |
| JSON | \uD83E\uDD80 |
| Python | \U0001F980 |
| Python by name | \N{CRAB} |
| Java, C# | \uD83E\uDD80 |
| Rust, Swift | \u{1F980} |
| Go, C, C++ | \U0001F980 |
| URL (percent-encoded) | %F0%9F%A6%80 |
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 | CRAB |
| Emoji name | crab |
| Code point | U+1F980 (decimal 129408) |
| Block | Supplemental Symbols and Pictographs (U+1F900βU+1F9FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 8.0 |
Nearby in Supplemental Symbols and Pictographs
- π₯Έ U+1F978 Disguised face
- π₯Ή U+1F979 Face holding back tears
- π₯Ί U+1F97A Pleading face
- π₯» U+1F97B Sari
- π₯Ό U+1F97C Lab coat
- π₯½ U+1F97D Goggles
- π₯Ύ U+1F97E Hiking boot
- π₯Ώ U+1F97F Flat shoe
- π¦ U+1F981 Lion
- π¦ U+1F982 Scorpion
- π¦ U+1F983 Turkey
- π¦ U+1F984 Unicorn
- π¦ U+1F985 Eagle
- π¦ U+1F986 Duck
- π¦ U+1F987 Bat
- π¦ U+1F988 Shark
All 256 characters: Supplemental Symbols and Pictographs.
Official reference
Questions people ask
- What is the HTML code for π¦?
- Use 🦀 (decimal) or 🦀 (hex).
- What is the UTF-8 encoding of U+1F980?
- F0 9F A6 80 (hex), 4 bytes. In a URL it is %F0%9F%A6%80.
- How do I write U+1F980 in JavaScript or Python?
- JavaScript: \u{1F980} or \uD83E\uDD80. Python: \U0001F980.
Source
Unicode Character Database 18.0.0 (Unicode License v3) and the Unicode emoji test data; 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