iconv

package
v0.0.0-...-2f1a4f0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

The iconv package provides an interface to the GNU iconv character set conversion library (see http://www.gnu.org/software/libiconv/). It automatically registers all the character sets with the charset package, so it is usually used simply for the side effects of importing it. Example:

  import (
		"go-charset.googlecode.com/hg/charset"
		_ "go-charset.googlecode.com/hg/charset/iconv"
  )

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Translator

func Translator(toCharset, fromCharset string, invalid rune) (charset.Translator, error)

Translator returns a Translator that translates between the named character sets. When an invalid multibyte character is found, the bytes in invalid are substituted instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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