m style & formatting |
add microsoft doc |
||
Line 32: | Line 32: | ||
== See Also == | == See Also == | ||
* [https://en.wikipedia.org/wiki/UTF-16#U+D800_to_U+DFFF_(surrogates) 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. | * [https://en.wikipedia.org/wiki/UTF-16#U+D800_to_U+DFFF_(surrogates) 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. | ||
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.converttoutf32#system-char-converttoutf32(system-char-system-char) Microsoft documentation for the <code>Char.ConvertToUtf32(Char, Char)</code> method.] | |||
[[Category:ProtoFlux:Strings:Characters]] | [[Category:ProtoFlux:Strings:Characters]] |
Latest revision as of 17:20, 4 June 2024
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.