山科 氷魚 (YAMASHINA Hio) > Unicode-Japanese-0.49 > unijp

Download:
Unicode-Japanese-0.49.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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()
syntax highlighting: