php 支持的编码格式

mb_list_encodings()的输出,我的php版本是 PHP 5.3.2-1

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] => CP51932
    [34] => JIS
    [35] => ISO-2022-JP
    [36] => ISO-2022-JP-MS
    [37] => Windows-1252
    [38] => Windows-1254
    [39] => ISO-8859-1
    [40] => ISO-8859-2
    [41] => ISO-8859-3
    [42] => ISO-8859-4
    [43] => ISO-8859-5
    [44] => ISO-8859-6
    [45] => ISO-8859-7
    [46] => ISO-8859-8
    [47] => ISO-8859-9
    [48] => ISO-8859-10
    [49] => ISO-8859-13
    [50] => ISO-8859-14
    [51] => ISO-8859-15
    [52] => ISO-8859-16
    [53] => EUC-CN      #GB2312
    [54] => CP936        #GBK
    [55] => HZ
    [56] => EUC-TW
    [57] => BIG-5
    [58] => EUC-KR
    [59] => UHC
    [60] => ISO-2022-KR
    [61] => Windows-1251
    [62] => CP866
    [63] => KOI8-R
    [64] => KOI8-U
    [65] => ArmSCII-8
    [66] => CP850
)


本文地址: http://www.bagualu.net/wordpress/archives/1812 转载请注明




发表评论

电子邮件地址不会被公开。 必填项已用*标注