WordPress at a glance
function is not described

getid3_lib::iconv_fallback_utf16_utf8() public WP 1.0

UTF-16 (BOM) => UTF-8

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

String.

Usage

$result = getid3_lib::iconv_fallback_utf16_utf8( $string );
$string(string) (required)
-

Code of getid3_lib::iconv_fallback_utf16_utf8() WP 5.7.2

<?php
public static function iconv_fallback_utf16_utf8($string) {
	$bom = substr($string, 0, 2);
	if ($bom == "\xFE\xFF") {
		return self::iconv_fallback_utf16be_utf8(substr($string, 2));
	} elseif ($bom == "\xFF\xFE") {
		return self::iconv_fallback_utf16le_utf8(substr($string, 2));
	}
	return $string;
}