Surrogate Pair To UTF32
Characters
The Surrogate Pair To UTF32 node returns the codepoint (UTF-32 value) generated from the two surrogate characters.
Inputs
HighSurrogate (char)
The high surrogate of the surrogate pair.
LowSurrogate (char)
The low surrogate of the surrogate pair.
Outputs
* (int)
The codepoint generated from the two surrogate characters.
The value 0
is returned instead if either HighSurrogate
is not a high surrogate or LowSurrogate
is not a low surrogate.
See Also
- The Wikipedia article on UTF-16, which goes into more depth about how exactly one encodes and decodes a UTF-32 codepoint to and from a surrogate pair.
- Microsoft documentation for the
Char.ConvertToUtf32(Char, Char)
method.