UTF16Convert

package
v0.0.0-...-86c3909 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFileUTF16

func ReadFileUTF16(filename string) ([]byte, error)

Similar to ioutil.ReadFile() but decodes UTF-16. Useful when reading data from MS-Windows systems that generate UTF-16BE files, but will do the right thing if other BOMs are found.

func Replacement

func Replacement(filename string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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