UTF8STRING

The UTF8STRING function converts the argument specified into the corresponding UTF-8 string. The string returned has variable length. Users are advised to allow sufficient length for the receiving argument returned by this function. The maximum length returns is twice the length of the original argument.

The function type is alphanumeric.

Format

Read syntax diagramSkip visual syntax diagramFUNCTION UTF8STRING (argument-1 )
argument-1

Must be alphabetic, alphanumeric, DBCS or national, and must be at least one character in length.