# Functions
自动检测html编码,不会减少缓冲器的内容, 得到编码器后用transform.NewReader解码为utf-8.
No description provided by the author
转码utf-8,contentType 可以传空值"" DetermineEncoding determines the encoding of an HTML document by examining up to the first 1024 bytes of content and the declared Content-Type.
对Unicode进行转码.
对Unicode进行转码.
GB18030.
GBK.
GBK is the GBK encoding.