Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CharsetNames = map[string]Charset{ "GB2312": GB2312, "GBK": GBK, "GB18030": GB18030, "UTF-8": UTF8, "UTF8": UTF8, }
View Source
var DefaultHttpClient = &http.Client{ Timeout: time.Second * 3, }
Functions ¶
func CalcUtf8TextWidth ¶
func Convert2UTF8 ¶
* 将其他编码的文本转换成utf8编码
Types ¶
Click to show internal directories.
Click to hide internal directories.