package
module
Version:
v0.0.0-...-414b45d
Opens a new window with list of versions in this module.
Published: Jan 15, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-unicode
parse unicode string to utf8 string
example
import (
unicode "github.com/cocktail18/unicode"
)
unicodeStr := "\\\\ud83d\\\\udc37\\\\ud83d\\\\udc37"
fmt.Println(unicode.UnicodeToString(unicodeStr))
// output 🐷🐷 <nil>
Documentation
¶
参考https://github.com/lianggx6/goutf16
Source Files
¶
Click to show internal directories.
Click to hide internal directories.