encode

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2021 License: MIT Imports: 4 Imported by: 1

README

go-encode

Golang encoding utils.

import encode "github.com/wisdomfusion/go-encode"

...
e, _, _, err := encode.FindEncoding(resp.Body)
if err != nil {
    panic(err)
}

utf8Reader := transform.NewReader(resp.Body, e.NewDecoder())
...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEncoding added in v0.1.0

func FindEncoding(r io.Reader) (e encoding.Encoding, name string, certain bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL