Skip to main content

Surrogates

Category: Cs
0 matching code points Major Class: Other (C)

Code points in the range U+D800–U+DFFF allocated exclusively for UTF-16 surrogate pairs. Surrogates are not valid standalone Unicode scalar values.

⚠️ Technical Notice on Surrogates (Cs):

Surrogate code points (U+D800 through U+DFFF) are reserved exclusively for UTF-16 surrogate pairs. They are not Unicode scalar values and cannot be encoded directly as standalone UTF-8 characters. Clipboard copy is disabled to prevent data corruption.

Technical Classification & Regex Reference

Normative Classification Semantics

In the Unicode Character Database, General_Category is the primary normative classification assigned to every code point. As noted in Unicode Standard Annex #44, this property reflects a character’s primary linguistic or functional usage, but does not capture every contextual use in real-world typography.

Regular Expression Matching

In modern regular expression engines (PCRE, Python, ECMAScript, Java, Rust, .NET), match characters belonging to this category with:

\p{Cs} // Matches any Surrogate
Standards Provenance: Property data derived from the official Unicode Character Database (General_Category (Cs)), Unicode Standard Version 18.0.
Data Sources Unicode Consortium UAX #44 ↗
Copied to clipboard!