Documentation ¶
Overview ¶
Package charsetKit
UTF-8 是golang的原生编码方式.
参考: Go-文本编码的转换处理 使用golang.org/x/text库
https://blog.csdn.net/gaoluhua/article/details/109128154
go语言中的UTF-8与GBK编码转换
https://wenku.baidu.com/view/d6a6e1c2561810a6f524ccbff121dd36a32dc480.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Convert func(dstCharset string, srcCharset string, src string) (dst string, err error) = gcharset.Convert
Convert 转换字符串的编码(字符集的编码)
支持的字符集(charset): "UTF-8"、"GBK"、"Big5"等,更多详见: https://goframe.org/pages/viewpage.action?pageId=1114178.
View Source
var IsSupported func(charset string) bool = gcharset.Supported
IsSupported 是否支持 指定字符集 ?
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.