Changeset 1875

Show
Ignore:
Timestamp:
07/14/06 15:17:42
Author:
miyagawa
Message:

aliasing softbank

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Encode-JP-Mobile/trunk/Changes

    r1603 r1875  
     10.03  Fri Jul 14 15:15:20 JST 2006 
     2        - Added 'shift_jis-softbank' as an alias of 'shift_jis-vodafone' 
     3 
    140.02  Wed Jun 22 17:30:29 JST 2005 
    25        - ucm files are based on cp932.ucm, not shiftjis.ucm 
  • Encode-JP-Mobile/trunk/MANIFEST

    r1603 r1875  
    99ucm/shift_jis-imode.ucm 
    1010ucm/shift_jis-kddi.ucm 
    11 META.yml                                 Module meta-data (added by MakeMaker) 
  • Encode-JP-Mobile/trunk/lib/Encode/JP/Mobile.pm

    r1603 r1875  
    11package Encode::JP::Mobile; 
    2 our $VERSION = "0.02"; 
     2our $VERSION = "0.03"; 
    33 
    44use Encode; 
  • Encode-JP-Mobile/trunk/lib/Encode/JP/Mobile/Vodafone.pm

    r1601 r1875  
    33use base qw(Encode::Encoding); 
    44__PACKAGE__->Define(qw(shift_jis-vodafone)); 
     5 
     6use Encode::Alias; 
     7define_alias('shift_jis-softbank' => 'shift_jis-vodafone'); 
    58 
    69# G! => E001, G" => E002, G# => E003 ... 
  • Encode-JP-Mobile/trunk/t/Mobile.t

    r1601 r1875  
    11use strict; 
    2 use Test::More tests => 16
     2use Test::More tests => 18
    33 
    44use_ok('Encode'); 
     
    1212test_rt("shift_jis-airh", "\x82\xb1\xF0\x40", "\x{3053}\x{e000}"); 
    1313test_rt("shift_jis-vodafone", "\x82\xb1\x1b\x24\x47\x21\x22\x0f", "\x{3053}\x{e001}\x{e002}"); 
     14test_rt("shift_jis-softbank", "\x82\xb1\x1b\x24\x47\x21\x22\x0f", "\x{3053}\x{e001}\x{e002}"); 
    1415 
    1516sub test_rt {