Registry / utility / gogits-chardet

gogits-chardet

JSON →
library0.0.0-20150115103509-2404f7772561gogounverified

Package chardet ports character set detection from ICU.

go get github.com/gogits/chardet
INSTALL
IMPORT
SIG · GOGITS-CHARDET
G
gogits-chardet
utilitygov0.0.0-20150115103509-2404f7772561
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

chardet
github.com/gogits/chardet

Detect character encoding of a byte slice

package main import ( "fmt" "github.com/gogits/chardet" ) func main() { detector := chardet.NewTextDetector() result, err := detector.DetectBest([]byte("some text")) if err != nil { panic(err) } fmt.Println(result.Charset) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150115103509-2404f7772561latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gogits-chardet — go get gogits-chardet · libregistry