{"id":66313,"library":"djimenez-iconv-go","title":"iconv-go","description":"Wraps the iconv API present on most systems, which allows for conversion of bytes from one encoding to another.","status":"active","version":"0.0.0-20160305225143-8960e66bd3da","language":"go","source_language":null,"source_url":"https://github.com/djimenez/iconv-go","tags":["iconv","encoding","conversion","charset"],"install":[{"cmd":"go get github.com/djimenez/iconv-go","lang":"bash","label":"Install github.com/djimenez/iconv-go"}],"dependencies":[],"imports":[{"symbol":"iconv","correct":"github.com/djimenez/iconv-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/djimenez/iconv-go\"\n)\n\nfunc main() {\n\toutput := make([]byte, 100)\n\tinput := []byte(\"hello\")\n\ticonv.Convert(input, output, \"utf-8\", \"iso-8859-1\")\n\tfmt.Println(string(output))\n}","lang":"go","description":"Converts a UTF-8 string to ISO-8859-1 encoding."},"warnings":[{"fix":"Install libiconv-dev or equivalent on your system.","message":"This package requires the system iconv library (libiconv) to be installed.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'allow':13 'anoth':22 'api':7 'byte':17 'charset':26 'convers':15,25 'encod':20,24 'go':3 'iconv':2,6,23 'iconv-go':1 'one':19 'present':8 'system':11 'wrap':4","created_at":"2026-06-17T17:22:03.732844+00:00","updated_at":"2026-06-17T17:22:03.732844+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/djimenez/iconv-go","github":"https://github.com/djimenez/iconv-go","docs":"https://pkg.go.dev/github.com/djimenez/iconv-go#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}}