1 |
wakaba |
1.1 |
<?xml version="1.0" encoding="iso-2022-jp"?> |
2 |
|
|
<?xml-stylesheet href="/s/simpledoc.css" type="text/css" ?> |
3 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
4 |
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
5 |
|
|
<html xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml"> |
6 |
|
|
<head> |
7 |
|
|
<title xml:lang="en">Message::* Perl modules $B$NJ8;z%3!<%I$N07$$(B</title> |
8 |
|
|
<link rel="index" href="./" /> |
9 |
|
|
<link rel="prev" href="introduction" title="Message::* Perl Modules $B$N>R2p(B" /> |
10 |
|
|
<link rel="stylesheet" href="/s/simpledoc.css" type="text/css" /> |
11 |
|
|
<link rev="made" href="mailto:w@suika.fam.cx" /> |
12 |
|
|
<link rel="copyright" href="/c/pd" title="Public Domain." /> |
13 |
|
|
<meta name="author" content="$B<cMU(B" /> |
14 |
|
|
<meta name="keywords" content="Perl, module, pm, Message, $BJ8;z%3!<%I(B, $B%U%C%/4X?t(B, charset, $BId9f2=J8;z=89g(B, $BJ8;zId9f2=J}<0(B, CCS, CES" /> |
15 |
|
|
</head> |
16 |
|
|
<body> |
17 |
|
|
<h1><a href="introduction">Message::* Perl modules</a> $B$NJ8;z%3!<%I$N07$$(B</h1> |
18 |
|
|
|
19 |
|
|
<ul> |
20 |
|
|
<li><a href="#ja">$B<j$C<h$jAa$/F|K\8l$,;H$($k$h$&$K$9$kJ}K!(B</a></li> |
21 |
|
|
<li><a href="#hook">$B%U%C%/4X?t$C$]$$$b$N$N@bL@(B</a></li> |
22 |
|
|
<li><a href="#future">$B>-Mh7W2h(B</a></li> |
23 |
|
|
</ul> |
24 |
|
|
|
25 |
|
|
<h2 id="ja">$B<j$C<h$jAa$/F|K\8l$,;H$($k$h$&$K$9$kJ}K!(B</h2> |
26 |
|
|
|
27 |
|
|
<p>$BF|K\8lJ8;z%3!<%IJQ49$KNI$/;H$o$l$k!"(B |
28 |
|
|
<a href="http://srekcah.org/jcode/">jcode.pl</a> $B$d(B |
29 |
|
|
<a href="http://openlab.ring.gr.jp/Jcode/">Jcode.pm</a>, |
30 |
|
|
<a href="http://bw-www.ie.u-ryukyu.ac.jp/~kono/software.html">NKF.pm</a> |
31 |
|
|
$B$J$I$r;H$&$?$a$NDj5A%b%8%e!<%k$rMQ0U$7$F$$$^$9!#$3$l$r<!$NNc$N$h$&$K(B |
32 |
|
|
<code>use</code> $B$9$k$@$1$G;H$($^$9!#(B</p> |
33 |
|
|
|
34 |
|
|
<pre class="example perl"> |
35 |
|
|
<span class="comment">## $B$I$A$i$+9%$-$JJ}$r$I$&$>!#(B</span> |
36 |
|
|
use Message::MIME::Charset::Jcode 'Jcode'; ## 'Jcode.pm' $B$H=q$$$F$bNI$$!#(B |
37 |
|
|
use Message::MIME::Charset::Jcode 'jcode.pl'; |
38 |
|
|
</pre> |
39 |
|
|
|
40 |
|
|
<p>jcode.pl $B$d(B Jcode.pm $B$J$I$O!"<+F0E*$K(B |
41 |
|
|
<code>require</code>/<code>use</code> $B$5$l$^$9!#(B</p> |
42 |
|
|
|
43 |
|
|
<p>$B$A$J$_$K!"J#?t2s(B Message::MIME::Charset::Jcode |
44 |
|
|
$B$rFI$_9~$s$@>l9g$K$O:G8e$NDj5A$,M-8z$K$J$j$^$9!#$^$?!"(B |
45 |
|
|
($BEvA3$H$$$($PEvA3$G$9$,(B) $B$=$N%b%8%e!<%k$GMxMQ2DG=$J(B charset |
46 |
|
|
$B$N$_Dj5A$5$l$^$9!#$G$9$+$i!">e$NNc$NDL$j$N=gHV$G=q$$$F$*$/$3$H$G!"(B |
47 |
|
|
<code class="mime-charset">UTF-8</code> $B$O(B Jcode.pm $B$G!"$=$l0J30$N>l9g$O(B |
48 |
|
|
jcode.pl $B$GJQ49$,9T$o$l$^$9!#(B</p> |
49 |
|
|
|
50 |
|
|
<p>$B$J$*!"FbItJ8;z%3!<%I(B ($B%a%=%C%I$J$I$GCM$r<h$j=P$7$?;~$NId9f2=J}<0(B) |
51 |
|
|
$B$O!"JQ49%b%8%e!<%k$NFbIt%3!<%I$^$?$OF|K\8l(B EUC $B$K$J$j$^$9!#(B |
52 |
|
|
(jcode.pl $B$d(B Jcode.pm $B$G$OF|K\8l(B EUC $B$G$9!#(B) $B$3$l$rJQ99$9$k$K$O!"(B |
53 |
|
|
<code>$Message::MIME::Charset::Jcode::CODE{internal}</code> |
54 |
|
|
$B$r(B <code>'sjis'</code> $B$d(B <code>'jis'</code> (7$B%S%C%H(B ISO/IEC 2022) |
55 |
|
|
$B$J$I$K$7$F2<$5$$!#(B</p> |
56 |
|
|
|
57 |
|
|
<h2 id="hook">Charset $B$NDj5A(B</h2> |
58 |
|
|
|
59 |
|
|
<p>$B4{Dj$N>uBV$G$O!"K\J8$d(B <code class="bnf rfc822">quoted-string</code> |
60 |
|
|
$B$J$I$NItJ,$K$D$$$F!"J8;z%3!<%I$K4X78$9$kJQ49=hM}$O9T$o$l$^$;$s!#(B |
61 |
|
|
Perl $B$N%U%!%$%kF~=PNO$J$I$,$=$&$G$"$k$h$&$K!"C1$J$k(B8$B%S%C%H$N%*%/%F%C%HNs$H$7$F07$$$^$9!#(B</p> |
62 |
|
|
|
63 |
|
|
<p>$BJ8;z%3!<%I$NJQ49=hM}(B ($B%a%C%;!<%8$NId9f2=J8;z=89g$+$i(B |
64 |
|
|
script $BFbIt$NId9f2=J8;z=89g$X$NJQ49$H!"$=$N5U(B) |
65 |
|
|
$B$rDj5A$9$k$K$O!"(B |
66 |
|
|
<code class="perl">Message::MIME::Charset::make_charset</code> |
67 |
|
|
$B$r;H$$$^$9!#MxMQNc$O(B Message::MIME::Charset::Jcode |
68 |
|
|
$B$r8+$F2<$5$$!#(B</p> |
69 |
|
|
|
70 |
|
|
<p><code class="perl">*default</code> $B$OFCJL$J(B charset |
71 |
|
|
$B$G!"(B MIME $B$J$I$G(B charset $B$,;XDj$5$l$F$$$J$$!"(B |
72 |
|
|
<code class="bnf rfc822">quoted-string</code> |
73 |
|
|
$B$NJQ49=hM}$rDj5A$7$^$9!#(B ($B$J$*!"0lHL$K(B charset $BL>$O!"(B |
74 |
|
|
Message::* $B3F%b%8%e!<%k$G$O>.J8;z$K@55,2=$7$?>uBV$G=hM}$7$^$9$+$i!"$3$&$7$?(B |
75 |
|
|
charset $BDj5A$O>.J8;z$G9T$$$^$9!#(B)</p> |
76 |
|
|
|
77 |
|
|
<p>$B$3$N(B charset |
78 |
|
|
$BDj5A$O!"EvA3!"Ev3:=hM}$,8F$S=P$5$l$kA0$K9T$C$F$*$/I,MW$,$"$j$^$9!#(B |
79 |
|
|
<samp class="perl">Message::Entity->parse</samp> $B$J$I$9$kA0$K(B |
80 |
|
|
$BDj5A$7$F$*$/$HNI$$$G$7$g$&!#(B</p> |
81 |
|
|
|
82 |
|
|
<p>Charset $BDj5A$N(B name_minimumizer $BB0@-$O!"L>A0:G>.2=$N4X?t$r;XDj$7$^$9!#(B |
83 |
|
|
MIME $B$K$h$k$H(B charset $BL>$O!";HMQ$5$l$F$$$kJ8;z$NHO0O$N:G>.8xG\?tE*$J$b$N$K$9$kI,MW$,$"$j$^$9!#(B |
84 |
|
|
($BNc$($P!"4pK\%i%F%sJ8;z$N$_$+$i$J$k(B |
85 |
|
|
<code class="mime-charset">ISO-2022-JP</code> $B$O!"L>A0$r:G>.2=$7$F(B |
86 |
|
|
<code class="mime-charset">US-ASCII</code> $B$H$7$J$1$l$P$J$j$^$;$s!#(B)</p> |
87 |
|
|
|
88 |
|
|
<p>$B$J$*!"(B |
89 |
|
|
<code class="mime-charset">ISO-2022-JP</code> $B$J$I4v$D$+$N(B charset |
90 |
|
|
$BMQ$K$O(B Message::MIME::Charset $B$GAH$_9~$_Dj5A$5$l$F$$$^$9$N$G!"2~$a$F;XDj$9$kI,MW$O$"$j$^$;$s!#(B</p> |
91 |
|
|
|
92 |
|
|
<h2 id="future">$B>-Mh7W2h(B</h2> |
93 |
|
|
|
94 |
|
|
<ul> |
95 |
|
|
<li>Perl 5.8 $BBP1~(B |
96 |
|
|
<ul> |
97 |
|
|
<li>UTF-8 $B4z$,IU$$$?J8;zNs$r@5$7$/07$($k$h$&$K$9$k!#(B</li> |
98 |
|
|
<li>Encode $B%b%8%e!<%kMQ$NDj5A%b%8%e!<%k$N:n@.!#(B</li> |
99 |
|
|
</ul> |
100 |
|
|
</li> |
101 |
|
|
</ul> |
102 |
|
|
|
103 |
|
|
<div class="navigation"> |
104 |
|
|
[<a href="/" title="$B$3$N%5!<%P!<$N<sJG(B">/</a> |
105 |
|
|
<a href="/map" title="$B$3$N%5!<%P!<$N0FFb(B" rel="index">$BCO?^(B</a> |
106 |
|
|
<a href="/search/" title="$B$3$N%5!<%P!<$N8!:w(B">$B8!:w(B</a>] |
107 |
|
|
|
108 |
|
|
[<a href="introduction" title="Message::* Perl Modules $B$N>R2p(B">$B>R2p(B</a>] |
109 |
|
|
|
110 |
|
|
<a href="http://validator.w3.org/check/referer" xml:lang="en"><img |
111 |
|
|
src="http://www.w3.org/Icons/valid-xhtml11" id="w3c-html" |
112 |
|
|
alt="Valid XHTML 1.1!" style="height: 31px; width: 88px" /></a> |
113 |
|
|
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://suika.fam.cx/~wakaba/Message-pm/charset.ja.html" xml:lang="en"> |
114 |
|
|
<img style="width: 88px; height: 31px" id="w3c-css" |
115 |
|
|
src="http://jigsaw.w3.org/css-validator/images/vcss" |
116 |
|
|
alt="Valid CSS!" /></a> |
117 |
|
|
</div> |
118 |
|
|
<div class="update">$Date: 2002/06/14 12:46:34 $</div> |
119 |
|
|
<ul class="myuri"> |
120 |
|
|
<li><URL:<a href="http://suika.fam.cx/~wakaba/Message-pm/introduction">http://suika.fam.cx/~wakaba/Message-pm/introduction</a>></li> |
121 |
|
|
<li><CVS:<a href="http://suika.fam.cx/gate/cvs/perl/web/Message-pm/">suika.fam.cx:/home/cvs/perl/web/Message-pm/</a>></li> |
122 |
|
|
</ul> |
123 |
|
|
</body></html> |