Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 310 Bytes

File metadata and controls

25 lines (13 loc) · 310 Bytes

GBKToUTF8

将GBK编码字符串转换为UTF-8编码

utf8str = GBKToUTF8(gbkstr)

参数:

  • gbkstr [string]:GBK编码字符串

返回值:

  • utf8str [string]:成功则返回UTF-8编码字符串,失败则返回nil

示例