最后一个参数中的值在DOC中哪有??感谢,,

解决方案 »

  1.   

    Charset
     Description
     
    US-ASCII Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set 
    ISO-8859-1   ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1 
    UTF-8 Eight-bit UCS Transformation Format 
    UTF-16BE Sixteen-bit UCS Transformation Format, big-endian byte order 
    UTF-16LE Sixteen-bit UCS Transformation Format, little-endian byte order 
    UTF-16 Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order  
    ??这些???是这个不???
      

  2.   

    传入的是 "字节",返回的是 "字符" 串。不指定编码则采用系统默认的,中文系统是 GBK。关于概念,推荐一篇浅显易懂的文章:
    http://www.regexlab.com/zh/encoding.htm