m who was the moron that said the output was a char and not a string (it's me, I'm the moron) |
m cleanup |
||
| Line 12: | Line 12: | ||
|}} | |}} | ||
From UTF32 is a ProtoFlux node that transforms a | From UTF32 is a ProtoFlux node that transforms a UTF32 codepoint into its respective UTF32 character. | ||
== Inputs == | == Inputs == | ||
=== UTF32 ([[Type: | === UTF32 ([[Type:int|int]]) === | ||
The Unicode codepoint, as decimal, to convert. | The Unicode codepoint, as decimal, to convert. | ||
| Line 22: | Line 22: | ||
== Outputs == | == Outputs == | ||
=== * ([[Type: | === * ([[Type:string|string]]) === | ||
The resulting converted character. If the input does not reside within valid Unicode codepoints, a null string will be outputted. Note that the output of this will not always containe one singular <code>char</code>, | The resulting converted character. If the input does not reside within [https://en.wikipedia.org/wiki/Unicode#Codespace_and_code_points valid Unicode codepoints], a null string will be outputted. | ||
Note that the output of this will not always containe one singular <code>char</code>. Specifically, when the input extends past the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane], two surrogate <code>char</code>s will be present. | |||
== Examples == | == Examples == | ||
Revision as of 18:50, 28 April 2024
From UTF32
Characters
From UTF32 is a ProtoFlux node that transforms a UTF32 codepoint into its respective UTF32 character.
Inputs
UTF32 (int)
The Unicode codepoint, as decimal, to convert.
Outputs
* (string)
The resulting converted character. If the input does not reside within valid Unicode codepoints, a null string will be outputted.
Note that the output of this will not always containe one singular char. Specifically, when the input extends past the Basic Multilingual Plane, two surrogate chars will be present.
Examples
-
Examples of the From UTF32 node and To UTF32 node, showcasing existing characters, valid but nonexistent characters, and invalid codepoints.