Skip to content

Fast encoding conversion library for Erlang / Elixir

License

Notifications You must be signed in to change notification settings

campanja-forks/iconv

 
 

Repository files navigation

iconv

Build Status Coverage Status Hex version

Fast encoding conversion library for Erlang / Elixir

This library is a native binding to libiconv library.

Building

iconv library can be build as follow:

./configure && make

iconv is a rebar-compatible OTP application. Alternatively, you can build it with rebar:

rebar compile

Dependencies

iconv library depends on libiconv.

You can use configure option to pass custom path to libiconv library:

--with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib

Usage

You can start iconv with the following command:

$ erl -pa ebin
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V6.3  (abort with ^G)

% Start the application:
1> application:start(iconv).

Development

Test

Unit test

You can run eunit test with the command:

$ rebar eunit

About

Fast encoding conversion library for Erlang / Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 69.8%
  • Erlang 23.8%
  • C 4.8%
  • M4 1.4%
  • Makefile 0.2%