ProtoFlux:FromUTF16: Difference between revisions

From Resonite Wiki
m other way around
m YoshBot moved page ProtoFlux:From UTF16 to ProtoFlux:FromUTF16: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
|}}
|}}


From UTF16 is a ProtoFlux node that transforms a 16-bit Unicode codepoint to its corresponding character within the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane].
The '''From UTF16''' node transforms a 16-bit Unicode codepoint to its corresponding character within the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane].


== Inputs ==
== Inputs ==


=== UTF16 ([[Type:Int|int]]) ===
=== UTF16 ([[Type:int|int]]) ===


The Unicode codepoint, as decimal, to convert. This must reside within the Basic Multilingual Plane (<code>0x0000-0xFFFF</code>). The output will "wrap around" at every multiple of 65536, essentially having an implicit modulo.
The Unicode codepoint, as decimal, to convert. This must reside within the Basic Multilingual Plane (<code>0x0000-0xFFFF</code>). The output will "wrap around" at every multiple of 65536, essentially having an implicit modulo.
Line 22: Line 22:
== Outputs ==
== Outputs ==


=== * ([[Type:Char|char]]) ===
=== * ([[Type:char|char]]) ===


The resulting converted character.
The resulting converted character.

Latest revision as of 00:20, 21 August 2025

From UTF16
UTF16
*
Characters

The From UTF16 node transforms a 16-bit Unicode codepoint to its corresponding character within the Basic Multilingual Plane.

Inputs

UTF16 (int)

The Unicode codepoint, as decimal, to convert. This must reside within the Basic Multilingual Plane (0x0000-0xFFFF). The output will "wrap around" at every multiple of 65536, essentially having an implicit modulo.

Outputs

* (char)

The resulting converted character.

Examples