Ext.IsStringValidUTF8()

Returns true if string contents are valid UTF8.

Function Signature

 bool Ext.IsStringValidUTF8( string s )

Parameters

Parameter Type Description

s

string

Use this parameter to provide a string to evaluate.

Return

Type Description

bool

Returns true if the contents are valid UTF8.

Example:

var encoded = Ext.IsStringValidUTF8(utf8String);

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

Extension Functions