/[suikacvs]/test/oldencodeutils/lib/Encode/SJIS/Pictogram.esr
Suika

Contents of /test/oldencodeutils/lib/Encode/SJIS/Pictogram.esr

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Dec 18 12:57:40 2002 UTC (23 years, 7 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -4 lines
Pictogram charsets support

1 wakaba 1.1 #?PESRC/1.0
2     Name:
3     SJIS::Pictogram
4     ShortDescription:
5     The Encode module for shift JIS coding systems
6     Description:
7     This module defines convertion between perl internal
8     representation and shift JIS coding systems defined
9     in standards of JIS (Japan Industrial Standards).
10    
11     {
12     Name:
13     sjis-imode
14     Alias:
15     x-sjis-imode
16     Cversion:
17     use:charset:Pictogram
18     C:bit=8
19     C:G0=G94:J ## JIS X 0201:1997 Graphic character set for Latin letters
20     C:G1=G94n:B@ ## JIS X 0208:1997
21     C:G2=G94:I ## JIS X 0201:1997 Graphic character set for Katakana
22     C:G3=G256n:CSimode_g3 ## i-mode pictograph set
23     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B', revision => '@'}]
24     Encode:
25     =>ucs_to_jisx0201_latin ucs_to_jisx0208_1997_latin ucs_to_jisx0201_katakana_hw ucs_to_imode
26     ->sjis:C
27     Decode:
28     <-sjis:C
29     <=jisx0201_latin_to_ucs jisx0208_1997_latin_to_ucs jisx0201_katakana_hw_to_ucs imode_to_ucs
30     Description:
31     Shift JIS with i-mode extended pictographs
32     }
33    
34     {
35     Name:
36     sjis-lmode
37     Alias:
38     x-sjis-lmode
39     Cversion:
40     use:charset:Pictogram
41     C:bit=8
42     C:G0=G94:J ## JIS X 0201:1997 Graphic character set for Latin letters
43     C:G1=G94n:B@ ## JIS X 0208:1997
44     C:G2=G94:I ## JIS X 0201:1997 Graphic character set for Katakana
45     C:G3=G256n:CSlmode_g3 ## L-mode pictograph set
46     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B', revision => '@'}]
47     Encode:
48     =>ucs_to_jisx0201_latin ucs_to_jisx0208_1997_latin ucs_to_jisx0201_katakana_hw ucs_to_lmode
49     ->sjis:C
50     Decode:
51     <-sjis:C
52     <=jisx0201_latin_to_ucs jisx0208_1997_latin_to_ucs jisx0201_katakana_hw_to_ucs lmode_to_ucs
53     Description:
54     Shift JIS with L-mode extended pictographs
55     }
56    
57