ProtoFlux:Surrogate Pair To UTF32: Difference between revisions

From Resonite Wiki
create page yay!!!
 
m style & formatting
Line 13: Line 13:
|}}
|}}


The <code>Surrogate Pair To UTF32</code> node returns the codepoint ([[UTF-32]] value) generated from the two surrogate characters.
The '''Surrogate Pair To UTF32''' node returns the codepoint ([[UTF-32]] value) generated from the two surrogate characters.


== Inputs ==
== Inputs ==
Line 28: Line 28:
The codepoint generated from the two surrogate characters.
The codepoint generated from the two surrogate characters.


The value <code>0</code> is returned instead if either <code>HighSurrogate</code> is not a high surrogate</code> or <code>LowSurrogate</code> is not a low surrogate.
The value <code>0</code> is returned instead if either <code>HighSurrogate</code> is not a high surrogate or <code>LowSurrogate</code> is not a low surrogate.


== See Also ==
== See Also ==

Revision as of 19:47, 3 June 2024

Surrogate Pair To UTF32
HighSurrogate
*
LowSurrogate
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