Houdini 20.0 Nodes VOP nodes

String to Character

Converts an UTF8 string into a codepoint.

On this page
Since 14.0

Returns the code point of the first UTF8 character in the given string.

If the prefix of the string isn’t a valid UTF8 encoding, or is empty, -1 is returned.

Overlong UTF8 encodings will return -1.

Inputs

String

The string to change to code point.

Outputs

Character

The code point for the first UTF8 character in string.

See also

VOP nodes