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.
Click to show internal directories.
Click to hide internal directories.