Show
Ignore:
Timestamp:
01/19/08 12:29:45 (7 years ago)
Author:
tokuhirom
Message:

vodafone maybe can display &#xXXX;

Location:
lang/perl/HTML-ReplacePictogramMobileJp/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTML-ReplacePictogramMobileJp/trunk/lib/HTML/ReplacePictogramMobileJp/Vodafone.pm

    r4899 r4938  
    55 
    66filter utf8 => 'x-utf8-softbank', sub { 
     7    unicode_hex_cref 'V'; 
    78    unicode_property 'V'; 
    89}; 
    910 
    1011filter sjis => 'x-sjis-softbank', sub { 
     12    unicode_hex_cref 'V'; 
    1113    unicode_property 'V'; 
    1214}; 
  • lang/perl/HTML-ReplacePictogramMobileJp/trunk/t/01_simple.t

    r4899 r4938  
    11use strict; 
    22use warnings; 
    3 use Test::More tests => 10; 
     3use Test::More tests => 12; 
    44use HTML::ReplacePictogramMobileJp; 
    55use Encode; 
     
    1515 
    1616is _x('V', 'sjis', encode('x-sjis-softbank', "\x{E001}")), "<U+E001> V", 'softbank-escape'; 
     17is _x('V', 'sjis', "&#xE001;"), "<U+E001> V", 'softbank-unicode-hex-cref-sjis'; 
    1718is _x('V', 'utf8', encode('x-utf8-softbank', "\x{E537}")), "<U+E537> V", 'softbank-utf8'; 
     19is _x('V', 'utf8', "&#xE537;"), "<U+E537> V", 'softbank-utf8-hex-cref'; 
    1820 
    1921is _x('H', 'utf8', "&#xE757;"), "<U+E757> I", 'airh sjis hex cref';