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 )
Links
Multibyte String
- mb_check_encoding
- mb_chr
- mb_convert_case
- mb_convert_encoding
- mb_convert_kana
- mb_convert_variables
- mb_decode_mimeheader
- mb_decode_numericentity
- mb_detect_encoding
- mb_detect_order
- mb_encode_mimeheader
- mb_encode_numericentity
- mb_encoding_aliases
- mb_ereg
- mb_ereg_match
- mb_ereg_replace
- mb_ereg_replace_callback
- mb_ereg_search
- mb_ereg_search_getpos
- mb_ereg_search_getregs
- mb_ereg_search_init
- mb_ereg_search_pos
- mb_ereg_search_regs
- mb_ereg_search_setpos
- mb_eregi
- mb_eregi_replace
- mb_get_info
- mb_http_input
- mb_http_output
- mb_internal_encoding
- mb_language
- mb_ord
- mb_output_handler
- mb_parse_str
- mb_preferred_mime_name
- mb_regex_encoding
- mb_regex_set_options
- mb_scrub
- mb_send_mail
- mb_split
- mb_str_pad
- mb_str_split
- mb_strcut
- mb_strimwidth
- mb_stripos
- mb_stristr
- mb_strlen
- mb_strpos
- mb_strrchr
- mb_strrichr
- mb_strripos
- mb_strrpos
- mb_strstr
- mb_strtolower
- mb_strtoupper
- mb_strwidth
- mb_substitute_character
- mb_substr
- mb_substr_count