NAME
Encode::JP::Mobile - Shift_JIS variants of Japanese Mobile phones
SYNOPSIS
use Encode::JP::Mobile;
my $char = "\x82\xb1\xf9\x5d\xf8\xa0\x82\xb1";
my $string = decode("x-sjis-imode", $char);
DESCRIPTION
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.
ENCODINGS
This module currently supports the following encodings.
- x-sjis-imode
-
for DoCoMo pictograms.
x-sjis-docomo
is alias. - x-sjis-softbank
-
for Softbank pictograms. Since it uses escape sequences, decoding algorithm is not based on an ucm file.
x-sjis-vodafone
is alias. - x-sjis-kddi
-
for KDDI/AU pictograms based on their specification.
x-sjis-ezweb
is alias. - x-sjis-kddi-auto
-
for KDDI/AU pictograms based on handset's SJIS code and UTF-8 translations.
x-sjis-ezweb-auto
is alias. - x-sjis-airedge
-
for AirEDGE pictograms.
x-sjis-airh
is alias.
BACKWARD COMPATIBLITY
As of 0.07, this module now uses x-sjis-* as its encoding names. It still supports the old shift_jis-* aliases though. I'm planning to deprecate them sometime in the future release.
NOTES
ucm files are based on
cp932.ucm
, notshiftjis.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.
TODO
Support KDDI encodings for 7bit E-mail (
x-iso-2022-jp-kddi
).Implement all merged
x-sjis-mobile-jp
encoding.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software, licensed under the same terms with Perl.
SEE ALSO
Encode, HTML::Entities::ImodePictogram
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