Skip to content

dsoprea/go-unicode-byteorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Go Report Card GoDoc

Overview

This project will return the encoding associated with a sequence of Unicode byte-order-mark (BOM) bytes. This sequence is typically used to identify the encoding of a document and/or the byte-order of a document encoded with a multibyte encoding.

This only works for encodings that have an associated BOM byte-sequence. For raw-text encoded in an encoding that supports a BOM, it should be found at the very beginning of the document. If there is a data-structure where Unicode- encoded text is embedded within it, the BOM bytes, if supported, may be found as a field or property.

For more information, see the Unicode website.

About

Determine byte-order or encoding from a sequence of Unicode byte-order-mark (BOM) bytes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages