...

Package simplifiedchinese

import "golang.org/x/text/encoding/simplifiedchinese"
Overview
Index

Overview ▾

Package simplifiedchinese provides Simplified Chinese encodings such as GBK.

Index ▾

Package files

all.go gbk.go hzgb2312.go tables.go

Variables

var (
    // GB18030 is the GB18030 encoding.
    GB18030 encoding.Encoding = &gbk18030
    // GBK is the GBK encoding. It encodes an extension of the GB2312 character set
    // and is also known as Code Page 936.
    GBK encoding.Encoding = &gbk
)
var All = []encoding.Encoding{GB18030, GBK, HZGB2312}

All is a list of all defined encodings in this package.

var HZGB2312 encoding.Encoding = &hzGB2312

HZGB2312 is the HZ-GB2312 encoding.