{"id":75286,"library":"gogits-chardet","title":"Chardet","description":"Package chardet ports character set detection from ICU.","status":"active","version":"0.0.0-20150115103509-2404f7772561","language":"go","source_language":null,"source_url":"https://github.com/gogits/chardet","tags":["chardet","character-detection","icu","encoding"],"install":[{"cmd":"go get github.com/gogits/chardet","lang":"bash","label":"Install github.com/gogits/chardet"}],"dependencies":[],"imports":[{"symbol":"chardet","correct":"github.com/gogits/chardet"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/gogits/chardet\"\n)\n\nfunc main() {\n\tdetector := chardet.NewTextDetector()\n\tresult, err := detector.DetectBest([]byte(\"some text\"))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(result.Charset)\n}","lang":"go","description":"Detect character encoding of a byte slice"},"warnings":[],"env_vars":null,"search_vec":"'charact':5,12 'character-detect':11 'chardet':1,3,10 'detect':7,13 'encod':15 'icu':9,14 'packag':2 'port':4 'set':6","created_at":"2026-06-17T19:14:52.871556+00:00","updated_at":"2026-06-17T19:14:52.871556+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/gogits/chardet","github":"https://github.com/gogits/chardet","docs":"https://pkg.go.dev/github.com/gogits/chardet#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}