HTML::Pictogram::MobileJp::Unicode - &#xXXXX; とかくと3キャリで表示できるように変換できるライブラリ
use HTML::Pictogram::MobileJp::Unicode; use HTTP::MobileAgent; my $ma = HTTP::MobileAgent->new(); HTML::Pictogram::MobileJp::Unicode->convert($ma, $html);
&#xXXXX; のようにユニコードの実体参照で絵文字を記述しておくと、それを各キャリヤにあわせた表記に変更してくれるライブラリ。
サポート対象は 3G の3キャリです。
絵文字の変換マップは Text_Pictogram_Mobile のものを拝借してます。
絵文字として変換可能ではない &#xXXXX; は、変更されません。
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
http://openpear.org/package/Text_Pictogram_Mobile
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::Pictogram::MobileJp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Pictogram::MobileJp
CPAN shell
perl -MCPAN -e shell install HTML::Pictogram::MobileJp
For more information on module installation, please visit the detailed CPAN module installation guide.