package charmap
Import Path
golang.org/x/text/encoding/charmap (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
Package charmap provides simple character encodings such as IBM Code Page 437
and Windows 1252.
tables.go
Package-Level Type Names (only one)
Charmap is an 8-bit character set encoding.
DecodeByte returns the Charmap's rune decoding of the byte b.
EncodeRune returns the Charmap's byte encoding of the rune r. ok is whether
r is in the Charmap's repertoire. If not, b is set to the Charmap's
replacement byte. This is often the ASCII substitute character '\x1a'.
ID implements an internal interface.
NewDecoder implements the encoding.Encoding interface.
NewEncoder implements the encoding.Encoding interface.
String returns the Charmap's name.
*Charmap : golang.org/x/text/encoding.Encoding
*Charmap : golang.org/x/text/encoding/internal/identifier.Interface
*Charmap : fmt.Stringer
*Charmap : github.com/ChrisTrenkamp/goxpath/tree.Result
var CodePage037 *Charmap
var CodePage1047 *Charmap
var CodePage1140 *Charmap
var CodePage437 *Charmap
var CodePage850 *Charmap
var CodePage852 *Charmap
var CodePage855 *Charmap
var CodePage858 *Charmap
var CodePage860 *Charmap
var CodePage862 *Charmap
var CodePage863 *Charmap
var CodePage865 *Charmap
var CodePage866 *Charmap
var ISO8859_1 *Charmap
var ISO8859_10 *Charmap
var ISO8859_13 *Charmap
var ISO8859_14 *Charmap
var ISO8859_15 *Charmap
var ISO8859_16 *Charmap
var ISO8859_2 *Charmap
var ISO8859_3 *Charmap
var ISO8859_4 *Charmap
var ISO8859_5 *Charmap
var ISO8859_6 *Charmap
var ISO8859_7 *Charmap
var ISO8859_8 *Charmap
var ISO8859_9 *Charmap
var KOI8R *Charmap
var KOI8U *Charmap
var Macintosh *Charmap
var MacintoshCyrillic *Charmap
var Windows1250 *Charmap
var Windows1251 *Charmap
var Windows1252 *Charmap
var Windows1253 *Charmap
var Windows1254 *Charmap
var Windows1255 *Charmap
var Windows1256 *Charmap
var Windows1257 *Charmap
var Windows1258 *Charmap
var Windows874 *Charmap
var XUserDefined *Charmap
Package-Level Variables (total 47)
All is a list of all defined encodings in this package.
CodePage037 is the IBM Code Page 037 encoding.
CodePage1047 is the IBM Code Page 1047 encoding.
CodePage1140 is the IBM Code Page 1140 encoding.
CodePage437 is the IBM Code Page 437 encoding.
CodePage850 is the IBM Code Page 850 encoding.
CodePage852 is the IBM Code Page 852 encoding.
CodePage855 is the IBM Code Page 855 encoding.
CodePage858 is the Windows Code Page 858 encoding.
CodePage860 is the IBM Code Page 860 encoding.
CodePage862 is the IBM Code Page 862 encoding.
CodePage863 is the IBM Code Page 863 encoding.
CodePage865 is the IBM Code Page 865 encoding.
CodePage866 is the IBM Code Page 866 encoding.
ISO8859_1 is the ISO 8859-1 encoding.
ISO8859_10 is the ISO 8859-10 encoding.
ISO8859_13 is the ISO 8859-13 encoding.
ISO8859_14 is the ISO 8859-14 encoding.
ISO8859_15 is the ISO 8859-15 encoding.
ISO8859_16 is the ISO 8859-16 encoding.
ISO8859_2 is the ISO 8859-2 encoding.
ISO8859_3 is the ISO 8859-3 encoding.
ISO8859_4 is the ISO 8859-4 encoding.
ISO8859_5 is the ISO 8859-5 encoding.
ISO8859_6 is the ISO 8859-6 encoding.
ISO8859_6E is the ISO 8859-6E encoding.
ISO8859_6I is the ISO 8859-6I encoding.
ISO8859_7 is the ISO 8859-7 encoding.
ISO8859_8 is the ISO 8859-8 encoding.
ISO8859_8E is the ISO 8859-8E encoding.
ISO8859_8I is the ISO 8859-8I encoding.
ISO8859_9 is the ISO 8859-9 encoding.
KOI8R is the KOI8-R encoding.
KOI8U is the KOI8-U encoding.
Macintosh is the Macintosh encoding.
MacintoshCyrillic is the Macintosh Cyrillic encoding.
Windows1250 is the Windows 1250 encoding.
Windows1251 is the Windows 1251 encoding.
Windows1252 is the Windows 1252 encoding.
Windows1253 is the Windows 1253 encoding.
Windows1254 is the Windows 1254 encoding.
Windows1255 is the Windows 1255 encoding.
Windows1256 is the Windows 1256 encoding.
Windows1257 is the Windows 1257 encoding.
Windows1258 is the Windows 1258 encoding.
Windows874 is the Windows 874 encoding.
XUserDefined is the X-User-Defined encoding.
It is defined at http://encoding.spec.whatwg.org/#x-user-defined
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |