1
2=encoding utf-8
3
4=head1 NAME
5
6unijp - Unicode::Japanese for erlang
7
8=head1 SYNOPSIS
9
10 1> unijp:start().
11 #Port<0.99>
12 2> unijp:conv(utf8, ucs4, "text").
13 [0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116]
14 3> unijp:conv(ucs4, utf8, [0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116]).
15 "text"
16
17
18=head1 DESCRIPTION
19
20Unicode::Japanese perl モジュールのerlang版.
21
22UniJPのc言語バインディングであるlibunijpを利用.
23
24=head1 FUNCTIONS
25
26=head2 conv/3
27
28 conv(InCode, OutCode, Text) -> Result
29 InCode  = atom() | string()
30 OutCode = atom() | string()
31 Text    = iolist() | binary()
32 Result  = string()
33
34=head2 version_str/0
35
36=head2 version_tuple/0
37
38 version_str() -> string()
39 version_str() -> {Major, Minor, Devel}
40 Major = int()
41 Minor = int()
42 Devel = int()
43
44=cut
45
46