The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

unijp - Unicode::Japanese for erlang

SYNOPSIS

 1> unijp:start().
 #Port<0.99>
 2> unijp:conv(utf8, ucs4, "text").
 [0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116]
 3> unijp:conv(ucs4, utf8, [0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116]).
 "text"

DESCRIPTION

Unicode::Japanese perl モジュールのerlang版.

UniJPのc言語バインディングであるlibunijpを利用.

FUNCTIONS

conv/3

 conv(InCode, OutCode, Text) -> Result
 InCode  = atom() | string()
 OutCode = atom() | string()
 Text    = iolist() | binary()
 Result  = string()

version_str/0

version_tuple/0

 version_str() -> string()
 version_str() -> {Major, Minor, Devel}
 Major = int()
 Minor = int()
 Devel = int()