encoder

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureUTF8

func EnsureUTF8(config []byte, useStrictUTF8 bool) ([]byte, error)

EnsureUTF8 will convert from the most common encodings to UTF8. If useStrictUTF8 is enabled then if the file is not already utf8 then an error will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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