package encoding

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

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

Functions

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.

Source Files

all.go

Version
v2.8.1 (latest)
Published
Jan 12, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
1 month ago

Tools for package owners.