mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-13 01:30:53 +02:00
In Gui.onWorker we only make the minimum possible change to get things to compile after the API-breaking change of the gocui update; we'll make this cleaner later in this branch.
21 lines
1.4 KiB
Markdown
21 lines
1.4 KiB
Markdown
## encoding
|
|
|
|
|
|
[](https://github.com/gdamore/encoding/actions/workflows/linux.yml)
|
|
[](https://github.com/gdamore/encoding/actions/workflows/windows.yml)
|
|
[](https://github.com/gdamore/encoding/blob/master/LICENSE)
|
|
[](https://codecov.io/gh/gdamore/encoding)
|
|
[](https://godoc.org/github.com/gdamore/encoding)
|
|
|
|
Package encoding provides a number of encodings that are missing from the
|
|
standard Go [encoding]("https://godoc.org/golang.org/x/text/encoding") package.
|
|
|
|
We hope that we can contribute these to the standard Go library someday. It
|
|
turns out that some of these are useful for dealing with I/O streams coming
|
|
from non-UTF friendly sources.
|
|
|
|
The UTF8 Encoder is also useful for situations where valid UTF-8 might be
|
|
carried in streams that contain non-valid UTF; in particular I use it for
|
|
helping me cope with terminals that embed escape sequences in otherwise
|
|
valid UTF-8.
|