Show
Ignore:
Timestamp:
01/18/08 11:30:49 (10 months ago)
Author:
miyagawa
Message:

x-utf8-airh.ucm を削除し、x-utf8-docomo の別名として定義。

AirEDGE用絵文字の独自私用領域は CP932 と同等だが、SoftBank? 用絵文字と重複しているため、利用を推奨しない。また、ウェブ絵文字で送信した場合のコードポイントはDoCoMo と同等であるため、docomo の別名として定義した運用が現実的。ドキュメントも更新。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Encode-JP-Mobile/trunk/tools/make-utf8-ucm.pl

    r4837 r4843  
    1818    kddi     => InKDDIPictograms(), 
    1919    softbank => InSoftBankPictograms(), 
    20     airh     => InDoCoMoPictograms(), 
    2120}; 
    2221 
     
    6160        }); 
    6261    } 
    63  
    64     # airh 
    65     generate_ucm('airh', sub { 
    66         my $fh = shift; 
    67  
    68         # convert map 
    69         # XXX willcom phones can display docomo pictograms 
    70         for my $from (qw( kddi softbank )) { 
    71             print {$fh} "\n\n# pictogram convert map ($from => docomo)\n"; 
    72  
    73             for my $srcuni (sort keys %{$map->{$from}}) { 
    74                 my $dstuni = $map->{$from}->{$srcuni}->{'docomo'} or next; 
    75                 printf {$fh} "<U%s> %s |1 # %s\n", $srcuni, unihex2utf8hex($dstuni), comment_for($from); 
    76             } 
    77         } 
    78  
    79         # original 
    80         print $fh "\n\n# airh pictograms\n"; 
    81         range_each('airh', sub { 
    82             my $unicode = shift; 
    83             my $unihex = $unicode->to_hex; 
    84             print {$fh} sprintf "<U%s> %s |0 # %s\n", $unihex, unihex2utf8hex($unihex), "airh pictogram"; 
    85         }); 
    86     }); 
    8762} 
    8863