Surrogates
Category: CsCode points in the range U+D800–U+DFFF allocated exclusively for UTF-16 surrogate pairs. Surrogates are not valid standalone Unicode scalar values.
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