1. 项目地址:
    https://github.com/djimenez/iconv-go
  2. 用法:
    package main
    import (
     "fmt"
     "github.com/djimenez/iconv-go"
    )
    func main() {
     output,_ := iconv.ConvertString("一些乱码", "gbk", "utf8")
     fmt.Println(output)
    }
文档更新时间: 2020-10-23 09:26   作者:lee