Changeset 4839
- Timestamp:
- 01/18/08 10:41:42 (5 years ago)
- Location:
- lang/perl/Encode-JP-Mobile/trunk
- Files:
-
- 2 modified
-
lib/Encode/JP/Mobile/Charnames.pm (modified) (1 diff)
-
t/charnames.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Encode-JP-Mobile/trunk/lib/Encode/JP/Mobile/Charnames.pm
r4758 r4839 81 81 for my $row (@$dat) { 82 82 $unicode2name->{ hex $row->{unicode} } = decode('utf8', $row->{name}); 83 if ($carrier eq 'kddi') { 84 $unicode2name->{ hex $row->{unicode_auto} } = decode('utf8', $row->{name}); 85 } 83 86 } 84 87 } -
lang/perl/Encode-JP-Mobile/trunk/t/charnames.t
r3722 r4839 2 2 use warnings; 3 3 use Data::Dumper; 4 use Test::More tests => 2 0;4 use Test::More tests => 22; 5 5 use Encode; 6 6 … … 20 20 21 21 is Encode::JP::Mobile::Charnames::unicode2name(0xE672), 'ビール'; 22 is Encode::JP::Mobile::Charnames::unicode2name(0xE5CC), '打ち上げ花火', 'ezweb-cp932'; 23 is Encode::JP::Mobile::Charnames::unicode2name(0xF0FC), '打ち上げ花火', 'ezweb-auto'; 22 24 is Encode::is_utf8(Encode::JP::Mobile::Charnames::unicode2name(0xE672)), 1; 23 25 is Encode::JP::Mobile::Charnames::unicode2name_en(0xE672), 'Beer';
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)