Capital OE Ligature HTML entity Œ

Œ is the HTML entity for Capital OE Ligature Œ (U+0152). Copy the decimal Œ and hex Œ codes plus CSS, JavaScript, Python and URL escapes.

Entity
Œ
Code point
U+0152
Unicode name
LATIN CAPITAL LIGATURE OE
Block
Latin Extended-A
Category
Uppercase letter (Lu)
Since
Unicode 1.1
Defined in
HTML 4.01 and HTML5

Codes to copy

HTML namedŒWorks in HTML; in XML only & < > " ' are predefined.
HTML decimalŒWorks in HTML and XML.
HTML hexŒWorks in HTML and XML.
CSScontent: "\152";In a stylesheet, for ::before and ::after.
JavaScript"\u0152"Also valid in JSON.
Python"\u0152"Python 3 string literal.
Python by name"\N{LATIN CAPITAL LIGATURE OE}"Readable alternative using the Unicode name.
URL%C5%92Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesC5 922 bytes.
UTF-1601521 code unit, which is what JavaScript length counts.

When to use it

Œ writes U+0152 (Capital OE Ligature), a capital letter from the Unicode Latin Extended-A block, encoded since Unicode 1.1. On a page saved as UTF-8 the letter can simply be typed; the entity helps in ASCII-only templates and code samples.

The name dates from HTML 4, so it works in every browser and in old email clients.

More latin letters with accents

All latin letters with accents · Every HTML entity · Encode or decode text

Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).