EncodingMatch::getUTF8

Gets the UTF-8 encoded version of the encoded byte array

public function getUTF8(): string;

Returns

  • string - - The result of converting the bytes to UTF-8 with the detected encoding