text

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2016 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package text contains utilities dealing with the encoding of source text.

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedEncoding = errors.New("unsupported encoding")

ErrUnsupportedEncoding is returned if an encoding is unsupported.

Functions

func ToUTF8

func ToUTF8(encodingName string, b []byte) (string, error)

ToUTF8 converts the given encoded text to a UTF-8 string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL