ProtoFlux:From UTF16: Difference between revisions

From Resonite Wiki
example & more details
m other way around
Line 12: Line 12:
|}}
|}}


From UTF16 is a ProtoFlux node that transforms a number to its corresponding Unicode codepoint within the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane].
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].


== Inputs ==
== Inputs ==

Revision as of 18:45, 28 April 2024

From UTF16
UTF16
*
Characters

From UTF16 is a ProtoFlux node that 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