Encode::JP::Mobile - Shift_JIS variants of Japanese Mobile phones
my $char = "\x82\xb1\xf9\x5d\xf8\xa0\x82\xb1";
my $string = decode("shift_jis-imode", $char);
Encode::JP::Mobile is an Encode module to support Shift_JIS variants used in Japaese mobile phone browsers.
This module is EXPERIMENTAL. That means API and implementations will sometimge be backward incompatible.
This module currently supports the following encodings.
for DoCoMo pictograms. shift_jis-docomo is alias.
for Vodafone pictograms. Since it uses escape sequence, decoding algorithm is not based on ucm file.
for KDDI/AU pictograms. shift_jis-ezweb is alias.
for AirEDGE pictograms. shift_jis-airh is alias.
ucm files are based on cp932.ucm, not shiftjis.ucm, since it looks more appropriate for possible use cases. I'm open for any suggesitions on this matter.
Pictogram characters are defined to be round-trip safe. However, they use Unicode Private Area for such characters, that means you'll have interoperability issues, which this module doesn't try yet to solve completely.
As of version 0.04, this module tries to do auto-conversion of KDDI/AU and NTT-DoCoMo pictogram characters. Supporting Softbank characters are still left TODO.
Support KDDI encodings for 7bit E-mail (iso-2022-jp-kddi).
Implement all merged shift_jis-mobile-jp encoding.
Tatsuhiko Miyagawa <email@example.com>
This library is free software, licensed under the same terms with Perl.
http://www.nttdocomo.co.jp/p_s/imode/make/emoji/ http://www.au.kddi.com/ezfactory/tec/spec/3.html http://developers.vodafone.jp/dp/tool_dl/web/picword_top.php http://www.willcom-inc.com/p_s/products/airh_phone/homepage.html
To install Encode::JP::Mobile, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.