IsLegalUTF8 (FUN)

FUNCTION IsLegalUTF8 : BOOL

This method checks if a given string contains of valid UTF-8 characters.

InOut:

Scope

Name

Type

Comment

Return

IsLegalUTF8

BOOL

Input

source

POINTER TO BYTE

Pointer to the string to check

length

INT

Length of the string to check