Documentation ¶
Overview ¶
Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
Index ¶
- type Charset_gb18030
- func (Charset_gb18030) DecodeRune(src []byte) (rune, int)
- func (Charset_gb18030) EncodeRune(dst []byte, r rune) int
- func (Charset_gb18030) IsSuperset(other types.Charset) bool
- func (Charset_gb18030) MaxWidth() int
- func (Charset_gb18030) Name() string
- func (c Charset_gb18030) SupportsSupplementaryChars() bool
- type Charset_gb2312
- func (Charset_gb2312) DecodeRune(src []byte) (rune, int)
- func (Charset_gb2312) EncodeRune(dst []byte, r rune) int
- func (Charset_gb2312) IsSuperset(other types.Charset) bool
- func (Charset_gb2312) MaxWidth() int
- func (Charset_gb2312) Name() string
- func (Charset_gb2312) SupportsSupplementaryChars() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Charset_gb18030 ¶
type Charset_gb18030 struct{}
func (Charset_gb18030) DecodeRune ¶
func (Charset_gb18030) DecodeRune(src []byte) (rune, int)
func (Charset_gb18030) EncodeRune ¶
func (Charset_gb18030) EncodeRune(dst []byte, r rune) int
func (Charset_gb18030) IsSuperset ¶
func (Charset_gb18030) IsSuperset(other types.Charset) bool
func (Charset_gb18030) MaxWidth ¶
func (Charset_gb18030) MaxWidth() int
func (Charset_gb18030) Name ¶
func (Charset_gb18030) Name() string
func (Charset_gb18030) SupportsSupplementaryChars ¶
func (c Charset_gb18030) SupportsSupplementaryChars() bool
type Charset_gb2312 ¶
type Charset_gb2312 struct{}
func (Charset_gb2312) DecodeRune ¶
func (Charset_gb2312) DecodeRune(src []byte) (rune, int)
func (Charset_gb2312) EncodeRune ¶
func (Charset_gb2312) EncodeRune(dst []byte, r rune) int
func (Charset_gb2312) IsSuperset ¶
func (Charset_gb2312) IsSuperset(other types.Charset) bool
func (Charset_gb2312) MaxWidth ¶
func (Charset_gb2312) MaxWidth() int
func (Charset_gb2312) Name ¶
func (Charset_gb2312) Name() string
func (Charset_gb2312) SupportsSupplementaryChars ¶
func (Charset_gb2312) SupportsSupplementaryChars() bool
Click to show internal directories.
Click to hide internal directories.