File: unijp.pod

package info (click to toggle)
libunicode-japanese-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,376 kB
  • sloc: ansic: 30,821; perl: 5,635; erlang: 224; makefile: 191
file content (64 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

=encoding utf-8

=head1 NAME

unijp - Unicode::Japanese for erlang

=head1 SYNOPSIS

 1> unijp:start().
 <0.34.0>
 2> unijp:conv_binary(utf8, ucs4, <<"text">>).
 <<0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116>>
 3> unijp:conv_binary(ucs4, utf8, <<0,0,0,116,0,0,0,101,0,0,0,120,0,0,0,116>>).
 <<"text">>


=head1 DESCRIPTION

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

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

=head1 FUNCTIONS

=head2 conv_binary/3

 conv_binary(InCode, OutCode, Text) -> Result
 InCode  = atom()
 OutCode = atom()
 Text    = binary()
 Result  = binary()

=head2 version_string/0

=head2 version_tuple/0

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


=head2 conv/3

deprecated at 0.0.50.

use conv_binary/3 instead.

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

=head2 version_str/0

deprecated at 0.0.50.

use version_string/0 instead.

=cut