🤠 is the Unicode emoji FACE WITH COWBOY HAT (“cowboy hat face”), code point U+1F920 (decimal 129312) in the Supplemental Symbols and Pictographs block, added in Unicode 9.0. In HTML write 🤠, and in UTF-8 it is the 4 bytes F0 9F A4 A0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F920 |
| Decimal | 129312 |
| UTF-8 bytes | F0 9F A4 A0 |
| UTF-16 (big-endian) | D83E DD20 |
| UTF-32 | 0001F920 |
| HTML decimal | 🤠 |
| HTML hex | 🤠 |
| CSS | \1F920 |
| JavaScript | \u{1F920} or \uD83E\uDD20 |
| JSON | \uD83E\uDD20 |
| Python | \U0001F920 |
| Python by name | \N{FACE WITH COWBOY HAT} |
| Java, C# | \uD83E\uDD20 |
| Rust, Swift | \u{1F920} |
| Go, C, C++ | \U0001F920 |
| URL (percent-encoded) | %F0%9F%A4%A0 |
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 | FACE WITH COWBOY HAT |
| Emoji name | cowboy hat face |
| Code point | U+1F920 (decimal 129312) |
| 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 | 9.0 |
Nearby in Supplemental Symbols and Pictographs
- 🤘 U+1F918 Sign of the horns
- 🤙 U+1F919 Call me hand
- 🤚 U+1F91A Raised back of hand
- 🤛 U+1F91B Left-facing fist
- 🤜 U+1F91C Right-facing fist
- 🤝 U+1F91D Handshake
- 🤞 U+1F91E Crossed fingers
- 🤟 U+1F91F Love-you gesture
- 🤡 U+1F921 Clown face
- 🤢 U+1F922 Nauseated face
- 🤣 U+1F923 Rolling on the floor laughing
- 🤤 U+1F924 Drooling face
- 🤥 U+1F925 Lying face
- 🤦 U+1F926 Person facepalming
- 🤧 U+1F927 Sneezing face
- 🤨 U+1F928 Face with raised eyebrow
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+1F920?
- F0 9F A4 A0 (hex), 4 bytes. In a URL it is %F0%9F%A4%A0.
- How do I write U+1F920 in JavaScript or Python?
- JavaScript: \u{1F920} or \uD83E\uDD20. Python: \U0001F920.
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