File Coverage

blib/lib/Encode/JP/Emoji/PP.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             =head1 NAME
2              
3             Encode::JP::Emoji::PP - Emoji encoding aliases
4              
5             =head1 DESCRIPTION
6              
7             This module provides encoding aliases without C<-pp> suffix.
8             The first group:
9              
10             Canonical Alias
11             --------------------------------------------------------------------
12             x-sjis-emoji-docomo-pp x-sjis-emoji-docomo
13             x-sjis-emoji-kddiapp-pp x-sjis-emoji-kddiapp
14             x-sjis-emoji-kddiweb-pp x-sjis-emoji-kddiweb
15             x-sjis-emoji-softbank2g-pp x-sjis-emoji-softbank2g
16             x-sjis-emoji-softbank3g-pp x-sjis-emoji-softbank3g
17             x-utf8-emoji-docomo-pp x-utf8-emoji-docomo
18             x-utf8-emoji-kddiapp-pp x-utf8-emoji-kddiapp
19             x-utf8-emoji-kddiweb-pp x-utf8-emoji-kddiweb
20             x-utf8-emoji-softbank2g-pp x-utf8-emoji-softbank2g
21             x-utf8-emoji-softbank3g-pp x-utf8-emoji-softbank3g
22             --------------------------------------------------------------------
23              
24             The second group:
25              
26             Canonical Alias
27             --------------------------------------------------------------------
28             x-sjis-e4u-docomo-pp x-sjis-e4u-docomo
29             x-sjis-e4u-kddiapp-pp x-sjis-e4u-kddiapp
30             x-sjis-e4u-kddiweb-pp x-sjis-e4u-kddiweb
31             x-sjis-e4u-softbank2g-pp x-sjis-e4u-softbank2g
32             x-sjis-e4u-softbank3g-pp x-sjis-e4u-softbank3g
33             x-utf8-e4u-docomo-pp x-utf8-e4u-docomo
34             x-utf8-e4u-kddiapp-pp x-utf8-e4u-kddiapp
35             x-utf8-e4u-kddiweb-pp x-utf8-e4u-kddiweb
36             x-utf8-e4u-softbank2g-pp x-utf8-e4u-softbank2g
37             x-utf8-e4u-softbank3g-pp x-utf8-e4u-softbank3g
38             --------------------------------------------------------------------
39              
40             The next group:
41              
42             Canonical Alias
43             --------------------------------------------------------------------
44             x-utf8-e4u-mixed-pp x-utf8-e4u-mixed
45             x-utf8-e4u-google-pp x-utf8-e4u-google
46             x-utf8-e4u-unicode-pp x-utf8-e4u-unicode
47             --------------------------------------------------------------------
48              
49             The last group:
50              
51             Canonical Alias
52             --------------------------------------------------------------------
53             x-sjis-emoji-none-pp x-sjis-emoji-none
54             x-utf8-emoji-none-pp x-utf8-emoji-none
55             x-sjis-e4u-none-pp x-sjis-e4u-none
56             x-utf8-e4u-none-pp x-utf8-e4u-none
57             --------------------------------------------------------------------
58              
59             L implements all C<-pp> encodings above.
60             Use L instead of loading this module directly.
61              
62             =head1 AUTHOR
63              
64             Yusuke Kawasaki, L
65              
66             =head1 SEE ALSO
67              
68             L and L.
69              
70             =head1 COPYRIGHT
71              
72             Copyright 2009 Yusuke Kawasaki, all rights reserved.
73              
74             =cut
75              
76             package Encode::JP::Emoji::PP;
77 21     21   113 use strict;
  21         40  
  21         1041  
78 21     21   111 use warnings;
  21         43  
  21         485  
79 21     21   16111 use Encode::JP::Emoji::Encoding;
  21         73  
  21         987  
80 21     21   215 use Encode::Alias;
  21         38  
  21         8323  
81              
82             our $VERSION = '0.05';
83              
84             # aliases for -pp
85             define_alias('x-sjis-emoji-docomo' => 'x-sjis-emoji-docomo-pp');
86             define_alias('x-sjis-emoji-kddiapp' => 'x-sjis-emoji-kddiapp-pp');
87             define_alias('x-sjis-emoji-kddiweb' => 'x-sjis-emoji-kddiweb-pp');
88             define_alias('x-sjis-emoji-softbank2g' => 'x-sjis-emoji-softbank2g-pp');
89             define_alias('x-sjis-emoji-softbank3g' => 'x-sjis-emoji-softbank3g-pp');
90              
91             define_alias('x-utf8-emoji-docomo' => 'x-utf8-emoji-docomo-pp');
92             define_alias('x-utf8-emoji-kddiapp' => 'x-utf8-emoji-kddiapp-pp');
93             define_alias('x-utf8-emoji-kddiweb' => 'x-utf8-emoji-kddiweb-pp');
94             define_alias('x-utf8-emoji-softbank2g' => 'x-utf8-emoji-softbank2g-pp');
95             define_alias('x-utf8-emoji-softbank3g' => 'x-utf8-emoji-softbank3g-pp');
96              
97             define_alias('x-sjis-e4u-docomo' => 'x-sjis-e4u-docomo-pp');
98             define_alias('x-sjis-e4u-kddiapp' => 'x-sjis-e4u-kddiapp-pp');
99             define_alias('x-sjis-e4u-kddiweb' => 'x-sjis-e4u-kddiweb-pp');
100             define_alias('x-sjis-e4u-softbank2g' => 'x-sjis-e4u-softbank2g-pp');
101             define_alias('x-sjis-e4u-softbank3g' => 'x-sjis-e4u-softbank3g-pp');
102              
103             define_alias('x-utf8-e4u-docomo' => 'x-utf8-e4u-docomo-pp');
104             define_alias('x-utf8-e4u-kddiapp' => 'x-utf8-e4u-kddiapp-pp');
105             define_alias('x-utf8-e4u-kddiweb' => 'x-utf8-e4u-kddiweb-pp');
106             define_alias('x-utf8-e4u-softbank2g' => 'x-utf8-e4u-softbank2g-pp');
107             define_alias('x-utf8-e4u-softbank3g' => 'x-utf8-e4u-softbank3g-pp');
108              
109             define_alias('x-utf8-e4u-mixed' => 'x-utf8-e4u-mixed-pp');
110             define_alias('x-utf8-e4u-google' => 'x-utf8-e4u-google-pp');
111             define_alias('x-utf8-e4u-unicode' => 'x-utf8-e4u-unicode-pp');
112              
113             define_alias('x-sjis-emoji-none' => 'x-sjis-emoji-none-pp');
114             define_alias('x-utf8-emoji-none' => 'x-utf8-emoji-none-pp');
115             define_alias('x-sjis-e4u-none' => 'x-sjis-e4u-none-pp');
116             define_alias('x-utf8-e4u-none' => 'x-utf8-e4u-none-pp');
117              
118             1;