Categorygithub.com/teamwork/toutf8
modulepackage
0.0.0-20200108122534-3ccbaced4c2a
Repository: https://github.com/teamwork/toutf8.git
Documentation: pkg.go.dev

# README

Build Status codecov GoDoc

Converts text to UTF-8

This is a friendlier API for the golang.org/x/text collection of packages, making it easier to call for arbitrary input in an iconv-like manner.

# Functions

Byte converts the bytes from the input to UTF-8.
FindEncoding attempts to find an encoding by name.
Reader converts the bytes from the input reader to UTF-8.

# Type aliases

ErrUnknownCharset is used when the passed character set is unknown to this library.