Script Small O HTML entity ℴ

ℴ is the HTML entity for Script Small O ℴ (U+2134). Copy the decimal ℴ and hex ℴ codes plus CSS, JavaScript, Python and URL escapes.

Entity
ℴ
Also written
ℴ ℴ
Code point
U+2134
Unicode name
SCRIPT SMALL O
Block
Letterlike Symbols
Category
Lowercase letter (Ll)
Since
Unicode 1.1
Defined in
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: "\2134";In a stylesheet, for ::before and ::after.
JavaScript"\u2134"Also valid in JSON.
Python"\u2134"Python 3 string literal.
Python by name"\N{SCRIPT SMALL O}"Readable alternative using the Unicode name.
URL%E2%84%B4Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 84 B43 bytes.
UTF-1621341 code unit, which is what JavaScript length counts.

When to use it

&oscr; writes U+2134 (Script Small O), a small letter from the Unicode Letterlike Symbols block, encoded since Unicode 1.1. These characters exist mostly for compatibility with older character sets; for anything beyond simple cases, <sup>, <sub> or MathML give more control.

The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.

More letterlike symbols, numbers and fractions

All letterlike symbols, numbers and fractions · 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).