IsValidUTF8 (open)
Test whether a string is a proper UTF8 string
Syntax
// Core function, no LOADLIB necessary
BOOLEAN FUNCTION IsValidUTF8(STRING text, BOOLEAN xmlchar)
Parameters
STRING text
String to test
BOOLEAN xmlchar
Accept only valid XML chars, defaults to false. If true, no control characters except tab, cr and lf are accepted
Return value
BOOLEAN
True if the string is a correct UTF8 formatted string, false otherwise