From 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
-
Example of using From UTF16 in some ProtoFlux code, showcasing converting both ASCII and non-ASCII characters, as well as the wraparound behavior after 65536.