UTF8STG
UTF8STG returns a FIXED BIN value that specifies the number of bytes that must be present if the input character is the start of a valid UTF-8 character.
- x
- Specifies the input character. x must be of the type CHAR(1).
The function returns zero if the character cannot be the start
of a valid UTF-8 character. For example, if the character has the
value '80'x
, UTF8STG returns zero.