{"id":28724110,"url":"https://github.com/processone/iconv","last_synced_at":"2025-09-10T17:33:25.914Z","repository":{"id":49283322,"uuid":"50099119","full_name":"processone/iconv","owner":"processone","description":"Fast encoding conversion library for Erlang / Elixir","archived":false,"fork":false,"pushed_at":"2024-07-26T08:23:40.000Z","size":229,"stargazers_count":57,"open_issues_count":1,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-08-03T07:36:44.345Z","etag":null,"topics":["encoding","iconv","iconv-library","libiconv"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/processone.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-21T10:09:50.000Z","updated_at":"2025-08-03T07:22:48.000Z","dependencies_parsed_at":"2022-09-26T16:41:48.887Z","dependency_job_id":null,"html_url":"https://github.com/processone/iconv","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/processone/iconv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processone%2Ficonv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processone%2Ficonv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processone%2Ficonv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processone%2Ficonv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/processone","download_url":"https://codeload.github.com/processone/iconv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processone%2Ficonv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274433840,"owners_count":25284427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["encoding","iconv","iconv-library","libiconv"],"created_at":"2025-06-15T10:09:15.219Z","updated_at":"2025-09-10T17:33:24.328Z","avatar_url":"https://github.com/processone.png","language":"Shell","readme":"# iconv\n\n[![CI](https://github.com/processone/iconv/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/processone/iconv/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/processone/iconv/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/processone/iconv?branch=master)\n[![Hex version](https://img.shields.io/hexpm/v/iconv.svg \"Hex version\")](https://hex.pm/packages/iconv)\n\nFast encoding conversion library for Erlang / Elixir\n\nThis library is a native binding to\n[libiconv](https://www.gnu.org/software/libiconv/) library.\n\n## Building\n\niconv library can be build as follow:\n\n    ./configure \u0026\u0026 make\n\niconv is a rebar-compatible OTP application. Alternatively, you can\nbuild it with rebar:\n\n    rebar compile\n\n## Dependencies\n\niconv library depends on libiconv.\n\nYou can use `configure` option to pass custom path to libiconv\nlibrary:\n\n    --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib\n\n## Usage\n\nYou can start iconv with the following command:\n\n```shell\n$ erl -pa ebin -pa deps/*/ebin\nErlang/OTP 21 [erts-10.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]\n\nEshell V10.2.1  (abort with ^G)\n1\u003e application:start(iconv).\nok\n2\u003e FromEncoding = \u003c\u003c\"utf-8\"\u003e\u003e. \n\u003c\u003c\"utf-8\"\u003e\u003e\n3\u003e ToEncoding = \u003c\u003c\"iso8859-15\"\u003e\u003e.\n\u003c\u003c\"iso8859-15\"\u003e\u003e\n4\u003e Text = \u003c\u003c\"Hello\"\u003e\u003e.\n\u003c\u003c\"Hello\"\u003e\u003e\n5\u003e iconv:convert(FromEncoding, ToEncoding, Text).            \n\u003c\u003c\"Hello\"\u003e\u003e\n```\n\n## Elixir\n\nYou can use `iconv` with Elixir `mix` by adding the dependency as follows:\n\n```\n  defp deps do\n    [\n      {:iconv, \"~\u003e 1.0.10\"},\n    ]\n  end\n```\n\n```\n$ mix deps.get\n...\n$ mix deps.compile\n...\n$ iex -S mix\nErlang/OTP 21 [erts-10.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]\n\nInteractive Elixir (1.7.4) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e :iconv.convert(\"utf-8\", \"iso8859-15\", \"Hello\")\n\"Hello\"\n```\n\n## Development\n\n### Test\n\n#### Unit test\n\nYou can run eunit test with the command:\n\n    $ rebar eunit\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocessone%2Ficonv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprocessone%2Ficonv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocessone%2Ficonv/lists"}