...

Package encoding

import "github.com/gdamore/tcell/v2/encoding"
Overview
Index

Overview ▾

Package encoding is used to provide a fairly complete set of encodings for tcell applications. Importing this package will automatically register encodings. Note that this package will add several MB to the generated binaries, as the encodings themselves can be somewhat large, particularly for the East Asian locales.

Index ▾

Package files

all.go

func Register

func Register()

Register registers all known encodings. This is a short-cut to add full character set support to your program. Note that this can add several megabytes to your program's size, because some of the encodings are rather large (particularly those from East Asia.)

Deprecated: This is no longer needed, importing the package is sufficient.