getid3_lib::iconv_fallback_utf16le_utf8

Advertisement

Summery Summery

UTF-16LE => UTF-8

Syntax Syntax

getid3_lib::iconv_fallback_utf16le_utf8( string $string )

Parameters Parameters

$string

(Required)

Return Return

(string)

Source Source

File: wp-includes/ID3/getid3.lib.php

			$string = substr($string, 2);
		}
		$newcharstring = '';
		for ($i = 0; $i < strlen($string); $i += 2) {
			$charval = self::LittleEndian2Int(substr($string, $i, 2));
			$newcharstring .= self::iconv_fallback_int_utf8($charval);
		}
		return $newcharstring;
	}

	/**
	 * UTF-16BE => ISO-8859-1

Advertisement

Advertisement

Leave a Reply