Œ is the Unicode character LATIN CAPITAL LIGATURE OE, code point U+0152 (decimal 338) in the Latin Extended-A block, added in Unicode 1.1. In HTML write Œ, and in UTF-8 it is the 2 bytes C5 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0152 |
| Decimal | 338 |
| UTF-8 bytes | C5 92 |
| UTF-16 (big-endian) | 0152 |
| UTF-32 | 00000152 |
| HTML decimal | Œ |
| HTML hex | Œ |
| HTML named | Œ |
| CSS | \152 |
| JavaScript | \u0152 |
| JSON | \u0152 |
| Python | \u0152 |
| Python by name | \N{LATIN CAPITAL LIGATURE OE} |
| Java, C# | \u0152 |
| Rust, Swift | \u{152} |
| Go, C, C++ | \u0152 |
| URL (percent-encoded) | %C5%92 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | LATIN CAPITAL LIGATURE OE |
| Code point | U+0152 (decimal 338) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Lu: Uppercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Upper and lower case
- œ U+0153 Latin Small Ligature Oe — Lowercase
Nearby in Latin Extended-A
- Ŋ U+014A Latin Capital Letter Eng
- ŋ U+014B Latin Small Letter Eng
- Ō U+014C Latin Capital Letter O With Macron
- ō U+014D Latin Small Letter O With Macron
- Ŏ U+014E Latin Capital Letter O With Breve
- ŏ U+014F Latin Small Letter O With Breve
- Ő U+0150 Latin Capital Letter O With Double Acute
- ő U+0151 Latin Small Letter O With Double Acute
- œ U+0153 Latin Small Ligature Oe
- Ŕ U+0154 Latin Capital Letter R With Acute
- ŕ U+0155 Latin Small Letter R With Acute
- Ŗ U+0156 Latin Capital Letter R With Cedilla
- ŗ U+0157 Latin Small Letter R With Cedilla
- Ř U+0158 Latin Capital Letter R With Caron
- ř U+0159 Latin Small Letter R With Caron
- Ś U+015A Latin Capital Letter S With Acute
All 128 characters: Latin Extended-A.
Official reference
Questions people ask
- What is the HTML code for Œ?
- Use the named entity Œ, or Œ (decimal) or Œ (hex).
- What is the UTF-8 encoding of U+0152?
- C5 92 (hex), 2 bytes. In a URL it is %C5%92.
- How do I write U+0152 in JavaScript or Python?
- JavaScript: \u0152. Python: \u0152.
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