π½ is the Unicode emoji PIG NOSE, code point U+1F43D (decimal 128061) in the Miscellaneous Symbols and Pictographs block, added in Unicode 6.0. In HTML write 🐽, and in UTF-8 it is the 4 bytes F0 9F 90 BD.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F43D |
| Decimal | 128061 |
| UTF-8 bytes | F0 9F 90 BD |
| UTF-16 (big-endian) | D83D DC3D |
| UTF-32 | 0001F43D |
| HTML decimal | 🐽 |
| HTML hex | 🐽 |
| CSS | \1F43D |
| JavaScript | \u{1F43D} or \uD83D\uDC3D |
| JSON | \uD83D\uDC3D |
| Python | \U0001F43D |
| Python by name | \N{PIG NOSE} |
| Java, C# | \uD83D\uDC3D |
| Rust, Swift | \u{1F43D} |
| Go, C, C++ | \U0001F43D |
| URL (percent-encoded) | %F0%9F%90%BD |
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 | PIG NOSE |
| Emoji name | pig nose |
| Code point | U+1F43D (decimal 128061) |
| Block | Miscellaneous Symbols and Pictographs (U+1F300βU+1F5FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Miscellaneous Symbols and Pictographs
- π΅ U+1F435 Monkey face
- πΆ U+1F436 Dog face
- π· U+1F437 Pig face
- πΈ U+1F438 Frog
- πΉ U+1F439 Hamster
- πΊ U+1F43A Wolf
- π» U+1F43B Bear
- πΌ U+1F43C Panda
- πΎ U+1F43E Paw prints
- πΏ U+1F43F Chipmunk
- π U+1F440 Eyes
- π U+1F441 Eye
- π U+1F442 Ear
- π U+1F443 Nose
- π U+1F444 Mouth
- π U+1F445 Tongue
All 768 characters: Miscellaneous 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+1F43D?
- F0 9F 90 BD (hex), 4 bytes. In a URL it is %F0%9F%90%BD.
- How do I write U+1F43D in JavaScript or Python?
- JavaScript: \u{1F43D} or \uD83D\uDC3D. Python: \U0001F43D.
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