Skip to main content
Returns the string represented by the UTF-8 data bytes. When onError function is specified, it is called on UTF-8 errors allowing recovery using the Utf8ErrorFunc API. (default: error)

Parameters

Returns

string The string.

Source

encoding/utf8.ts:348