Versions in this module Expand all Collapse all v1 v1.3.0 Mar 14, 2018 Changes in this version + const INVALID_CHAR + const NO_ROOM + const STATE_ONLY + const SUCCESS + func RegisterCharset(cs *Charset) + type Charset struct + Aliases []string + Name string + NewDecoder func() Decoder + NewEncoder func() Encoder + func GetCharset(name string) *Charset + type Decoder func(p []byte) (c rune, size int, status Status) + func EntityDecoder() Decoder + func FallbackDecoder(decoders ...Decoder) Decoder + func NewDecoder(name string) Decoder + func (d Decoder) ConvertString(s string) string + func (d Decoder) ConvertStringOK(s string) (result string, ok bool) + func (d Decoder) NewReader(rd io.Reader) *Reader + func (d Decoder) Translate(data []byte, eof bool) (n int, cdata []byte, err error) + type Encoder func(p []byte, c rune) (size int, status Status) + func NewEncoder(name string) Encoder + func (e Encoder) ConvertString(s string) string + func (e Encoder) ConvertStringOK(s string) (result string, ok bool) + func (e Encoder) NewWriter(wr io.Writer) *Writer + type MBCSTable struct + func (table *MBCSTable) AddCharacter(c rune, bytes string) + func (table *MBCSTable) Decoder() Decoder + func (table *MBCSTable) Encoder() Encoder + type Reader struct + func (b *Reader) Read(p []byte) (n int, err error) + func (b *Reader) ReadRune() (c rune, size int, err error) + type Status int + type Writer struct + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteRune(c rune) (size int, err error)