Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

mb_list_encodings

Description

The mb_list_encodings of Multibyte String for PHP returns an array of all supported encodings.

Syntax

mb_list_encodings(): array

Return

Returns a numerically indexed array.

Examples

1 · return

<?

$return = mb_list_encodings();

print_r($return);

?>
Array
(
    [0] => BASE64
    [1] => UUENCODE
    [2] => HTML-ENTITIES
    [3] => Quoted-Printable
    [4] => 7bit
    [5] => 8bit
    [6] => UCS-4
    [7] => UCS-4BE
    [8] => UCS-4LE
    [9] => UCS-2
    [10] => UCS-2BE
    [11] => UCS-2LE
    [12] => UTF-32
    [13] => UTF-32BE
    [14] => UTF-32LE
    [15] => UTF-16
    [16] => UTF-16BE
    [17] => UTF-16LE
    [18] => UTF-8
    [19] => UTF-7
    [20] => UTF7-IMAP
    [21] => ASCII
    [22] => EUC-JP
    [23] => SJIS
    [24] => eucJP-win
    [25] => EUC-JP-2004
    [26] => SJIS-Mobile#DOCOMO
    [27] => SJIS-Mobile#KDDI
    [28] => SJIS-Mobile#SOFTBANK
    [29] => SJIS-mac
    [30] => SJIS-2004
    [31] => UTF-8-Mobile#DOCOMO
    [32] => UTF-8-Mobile#KDDI-A
    [33] => UTF-8-Mobile#KDDI-B
    [34] => UTF-8-Mobile#SOFTBANK
    [35] => CP932
    [36] => SJIS-win
    [37] => CP51932
    [38] => JIS
    [39] => ISO-2022-JP
    [40] => ISO-2022-JP-MS
    [41] => GB18030
    [42] => Windows-1252
    [43] => Windows-1254
    [44] => ISO-8859-1
    [45] => ISO-8859-2
    [46] => ISO-8859-3
    [47] => ISO-8859-4
    [48] => ISO-8859-5
    [49] => ISO-8859-6
    [50] => ISO-8859-7
    [51] => ISO-8859-8
    [52] => ISO-8859-9
    [53] => ISO-8859-10
    [54] => ISO-8859-13
    [55] => ISO-8859-14
    [56] => ISO-8859-15
    [57] => ISO-8859-16
    [58] => EUC-CN
    [59] => CP936
    [60] => HZ
    [61] => EUC-TW
    [62] => BIG-5
    [63] => CP950
    [64] => EUC-KR
    [65] => UHC
    [66] => ISO-2022-KR
    [67] => Windows-1251
    [68] => CP866
    [69] => KOI8-R
    [70] => KOI8-U
    [71] => ArmSCII-8
    [72] => CP850
    [73] => ISO-2022-JP-2004
    [74] => ISO-2022-JP-MOBILE#KDDI
    [75] => CP50220
    [76] => CP50221
    [77] => CP50222
)
HomeMenu