ONUCHAR

ONUCHAR returns a UCHAR(1) string containing the UTF-8 data that caused a CONVERSION condition. It is in context in an ON-unit (or any of its dynamic descendants) for the CONVERSION condition or for the ERROR or FINISH condition raised as the implicit action for the CONVERSION condition.

Read syntax diagramSkip visual syntax diagramONUCHAR()

If the ONUCHAR built-in function is used out of context, a UTF-8 blank is returned.