README ¶ toutf8 toutf8 is a library to detect charset of texts automatically and decode it to utf8. This library works if both following libraries support the encoding of input. https://github.com/saintfish/chardet https://github.com/mattn/go-encoding Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func ToUTF8(body []byte) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ToUTF8 ¶ func ToUTF8(body []byte) ([]byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files toutf8.go Click to show internal directories. Click to hide internal directories.