首页 >函数列表 >mb_list_encodings

mb_list_encodings

mb_list_encodings

(PHP 5)

mb_list_encodingsReturns an array of all supported encodings

说明

array mb_list_encodings ( void )

Returns an array containing all supported encodings.

参数

此函数没有参数。

返回值

Returns a numerically indexed array.

错误/异常

This function does not emit any errors.

范例

Example #1 mb_list_encodings() example

<?php

print_r
(mb_list_encodings());

?>

以上例程的输出类似于:

Array
(
    [0] => pass
    [1] => auto
    [2] => wchar
    [3] => byte2be
    [4] => byte2le
    [5] => byte4be
    [6] => byte4le
    [7] => BASE64
    [8] => UUENCODE
    [9] => HTML-ENTITIES
    [10] => Quoted-Printable
    [11] => 7bit
    [12] => 8bit
    [13] => UCS-4
    [14] => UCS-4BE
    [15] => UCS-4LE
    [16] => UCS-2
    [17] => UCS-2BE
    [18] => UCS-2LE
    [19] => UTF-32
    [20] => UTF-32BE
    [21] => UTF-32LE
    [22] => UTF-16
    [23] => UTF-16BE
    [24] => UTF-16LE
    [25] => UTF-8
    [26] => UTF-7
    [27] => UTF7-IMAP
    [28] => ASCII
    [29] => EUC-JP
    [30] => SJIS
    [31] => eucJP-win
    [32] => SJIS-win
    [33] => JIS
    [34] => ISO-2022-JP
    [35] => Windows-1252
    [36] => ISO-8859-1
    [37] => ISO-8859-2
    [38] => ISO-8859-3
    [39] => ISO-8859-4
    [40] => ISO-8859-5
    [41] => ISO-8859-6
    [42] => ISO-8859-7
    [43] => ISO-8859-8
    [44] => ISO-8859-9
    [45] => ISO-8859-10
    [46] => ISO-8859-13
    [47] => ISO-8859-14
    [48] => ISO-8859-15
    [49] => EUC-CN
    [50] => CP936
    [51] => HZ
    [52] => EUC-TW
    [53] => BIG-5
    [54] => EUC-KR
    [55] => UHC
    [56] => ISO-2022-KR
    [57] => Windows-1251
    [58] => CP866
    [59] => KOI8-R
)


  • mb_check_encoding
  • 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_eregi
  • mb_eregi_replace
  • mb_ereg_match
  • mb_ereg_replace
  • 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_get_info
  • mb_http_input
  • mb_http_output
  • mb_internal_encoding
  • mb_language
  • mb_list_encodings
  • mb_output_handler
  • mb_parse_str
  • mb_preferred_mime_name
  • mb_regex_encoding
  • mb_regex_set_options
  • mb_send_mail
  • mb_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
  • PHP MySQL HTML CSS JavaScript MSSQL AJAX .NET JSP Linux Mac ASP 服务器 SQL jQuery C# C++ java Android IOS oracle MongoDB SQLite wamp 交通频道