WordPress at a glance
function is not described

getid3_id3v2::TextEncodingNameLookup() public WP 1.0

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

No Hooks.

Return

String.

Usage

$result = getid3_id3v2::TextEncodingNameLookup( $encoding );
$encoding(int) (required)
-

Code of getid3_id3v2::TextEncodingNameLookup() WP 5.7.2

<?php
public static function TextEncodingNameLookup($encoding) {
	// http://www.id3.org/id3v2.4.0-structure.txt
	// Frames that allow different types of text encoding contains a text encoding description byte. Possible encodings:
	static $TextEncodingNameLookup = array(
		0   => 'ISO-8859-1', // $00  ISO-8859-1. Terminated with $00.
		1   => 'UTF-16',     // $01  UTF-16 encoded Unicode with BOM. All strings in the same frame SHALL have the same byteorder. Terminated with $00 00.
		2   => 'UTF-16BE',   // $02  UTF-16BE encoded Unicode without BOM. Terminated with $00 00.
		3   => 'UTF-8',      // $03  UTF-8 encoded Unicode. Terminated with $00.
		255 => 'UTF-16BE'
	);
	return (isset($TextEncodingNameLookup[$encoding]) ? $TextEncodingNameLookup[$encoding] : 'ISO-8859-1');
}