Ext.IsStringValidUTF8( string s )

Description

Returns true if string contents are valid UTF8. Note, that this only works with string and not Variant.

Argument

s

Use this argument to provide a string to evaluate.

Return Values

bool

Returns true if the contents are valid UTF8.

Example:

var encoded = Ext.IsStringValidUTF8(utf8String);

Related Topics

Extension Functions