{"id":53576,"library":"rogpeppe-go-charset","title":"Go Charset Encoding","description":"Provides character set encoding and decoding support for Go, including conversion between various charsets.","status":"active","version":"0.0.0-20190617161244-0dc95cdf6f31","language":"go","source_language":null,"source_url":"https://github.com/rogpeppe/go-charset","tags":["charset","encoding","conversion"],"install":[{"cmd":"go get github.com/rogpeppe/go-charset","lang":"bash","label":"Install github.com/rogpeppe/go-charset"}],"dependencies":[],"imports":[{"symbol":"charset","correct":"github.com/rogpeppe/go-charset"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/rogpeppe/go-charset/charset\"\n\t\"io/ioutil\"\n\t\"strings\"\n)\n\nfunc main() {\n\tr := strings.NewReader(\"Hello\")\n\tdecoder, err := charset.NewReader(\"iso-8859-1\", r)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdata, _ := ioutil.ReadAll(decoder)\n\tfmt.Println(string(data))\n}","lang":"go","description":"Decodes an ISO-8859-1 encoded string to UTF-8."},"warnings":[],"env_vars":null,"search_vec":"'charact':5 'charset':2,17,18 'convers':14,20 'decod':9 'encod':3,7,19 'go':1,12 'includ':13 'provid':4 'set':6 'support':10 'various':16","created_at":"2026-06-15T07:45:33.914917+00:00","updated_at":"2026-06-15T07:45:33.914917+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/rogpeppe/go-charset","github":"https://github.com/rogpeppe/go-charset","docs":"https://pkg.go.dev/github.com/rogpeppe/go-charset#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-15","next_check":"2026-12-12","install_tag":null}}