UnicodeUtility
The Unicode replacement character U+FFFD.
Returns the Unicode plane (0 through 16, inclusive) which contains this code point.
public static uint GetScalarFromUtf16SurrogatePair(uint highSurrogateCodePoint, uint lowSurrogateCodePoint)
Returns a Unicode scalar value from two code points representing a UTF-16 surrogate pair.
Given a Unicode scalar value, gets the number of UTF-16 code units required to represent this value.
public static void GetUtf16SurrogatesFromSupplementaryPlaneScalar(uint value, out char highSurrogateCodePoint, out char lowSurrogateCodePoint)
Decomposes an astral Unicode scalar into UTF-16 high and low surrogate code units.
Given a Unicode scalar value, gets the number of UTF-8 code units required to represent this value.
Returns true iff value is an ASCII
character ([ U+0000..U+007F ]).
Returns true iff value is in the
Basic Multilingual Plane (BMP).
Returns true iff value is a UTF-16 high surrogate code point,
i.e., is in [ U+D800..U+DBFF ], inclusive.
Returns true iff value is between
lowerBound and upperBound, inclusive.
Returns true iff value is a UTF-16 low surrogate code point,
i.e., is in [ U+DC00..U+DFFF ], inclusive.
Returns true iff value is a UTF-16 surrogate code point,
i.e., is in [ U+D800..U+DFFF ], inclusive.
Returns true iff codePoint is a valid Unicode code
point, i.e., is in [ U+0000..U+10FFFF ], inclusive.
Returns true iff value is a valid Unicode scalar
value, i.e., is in [ U+0000..U+D7FF ], inclusive; or [ U+E000..U+10FFFF ], inclusive.