All Projects → processone → iconv

processone / iconv

Licence: other
Fast encoding conversion library for Erlang / Elixir

Programming Languages

shell
77523 projects
erlang
1774 projects
c
50402 projects - #5 most used programming language
M4
1887 projects
Makefile
30231 projects

Projects that are alternatives of or similar to iconv

Iconv Lite
Convert character encodings in pure javascript.
Stars: ✭ 2,697 (+5893.33%)
Mutual labels:  encoding, iconv
7uring
An advanced cryptography tool for hashing, encrypting, encoding, steganography and more.
Stars: ✭ 15 (-66.67%)
Mutual labels:  encoding
node-sdk
Transloadit's official Node.js SDK
Stars: ✭ 51 (+13.33%)
Mutual labels:  encoding
VBCorLib
The VBCorLib framework brings many of the powerful .NET classes to VB6.
Stars: ✭ 81 (+80%)
Mutual labels:  encoding
go-fixedwidth
Encoding and decoding for fixed-width formatted data
Stars: ✭ 64 (+42.22%)
Mutual labels:  encoding
h264-roi
H.264 video Region of Interest encoding tool, using x264
Stars: ✭ 44 (-2.22%)
Mutual labels:  encoding
BaseNcoding
Library for encoding of binary data into strings using base32, base85, base128 and other algorithms.
Stars: ✭ 42 (-6.67%)
Mutual labels:  encoding
dark-lord-obama
AV-evading Pythonic Reverse Shell with Dynamic Adaption Capabilities
Stars: ✭ 61 (+35.56%)
Mutual labels:  encoding
urdu-characters
📄 Complete collection of Urdu language characters & unicode code points.
Stars: ✭ 24 (-46.67%)
Mutual labels:  encoding
cpputils
various c++ utility classes
Stars: ✭ 19 (-57.78%)
Mutual labels:  iconv
bytes-java
Bytes is a utility library that makes it easy to create, parse, transform, validate and convert byte arrays in Java. It supports endianness as well as immutability and mutability, so the caller may decide to favor performance.
Stars: ✭ 120 (+166.67%)
Mutual labels:  encoding
sirdez
Glorious Binary Serialization and Deserialization for TypeScript.
Stars: ✭ 20 (-55.56%)
Mutual labels:  encoding
harsh
Hashids implementation in Rust
Stars: ✭ 48 (+6.67%)
Mutual labels:  encoding
cpp-bencoding
A C++ bencoding library supporting both decoding and encoding.
Stars: ✭ 20 (-55.56%)
Mutual labels:  encoding
deen
Generic data DEcoding/ENcoding application built with PyQt5.
Stars: ✭ 45 (+0%)
Mutual labels:  encoding
content inspector
Fast inspection of binary buffers to guess/determine the type of content
Stars: ✭ 28 (-37.78%)
Mutual labels:  encoding
gettext-iconv-windows
gettext and iconv binaries for Windows
Stars: ✭ 106 (+135.56%)
Mutual labels:  iconv
go-kml
Package kml provides convenience methods for creating and writing KML documents.
Stars: ✭ 67 (+48.89%)
Mutual labels:  encoding
avro ex
An Avro Library that emphasizes testability and ease of use.
Stars: ✭ 47 (+4.44%)
Mutual labels:  encoding
base58
Fast implementation of base58 encoding on golang.
Stars: ✭ 121 (+168.89%)
Mutual labels:  encoding

iconv

CI 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 -pa deps/*/ebin
Erlang/OTP 21 [erts-10.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

Eshell V10.2.1  (abort with ^G)
1> application:start(iconv).
ok
2> FromEncoding = <<"utf-8">>. 
<<"utf-8">>
3> ToEncoding = <<"iso8859-15">>.
<<"iso8859-15">>
4> Text = <<"Hello">>.
<<"Hello">>
5> iconv:convert(FromEncoding, ToEncoding, Text).            
<<"Hello">>

Elixir

You can use iconv with Elixir mix by adding the dependency as follows:

  defp deps do
    [
      {:iconv, "~> 1.0.10"},
    ]
  end
$ mix deps.get
...
$ mix deps.compile
...
$ iex -S mix
Erlang/OTP 21 [erts-10.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

Interactive Elixir (1.7.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> :iconv.convert("utf-8", "iso8859-15", "Hello")
"Hello"

Development

Test

Unit test

You can run eunit test with the command:

$ rebar eunit
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].