From e4b5b33f2eebef4d71b920efe5008be4c1612812 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 18 Aug 2005 10:03:44 +0000 Subject: [PATCH] Translated. --- emacs-mime-ja.texi | 491 +++++++++++++++++++++++++--------------------------- 1 file changed, 232 insertions(+), 259 deletions(-) diff --git a/emacs-mime-ja.texi b/emacs-mime-ja.texi index 4750fa1..689d61e 100644 --- a/emacs-mime-ja.texi +++ b/emacs-mime-ja.texi @@ -9,7 +9,7 @@ @copying $B$3$N%U%!%$%k$O(B Emacs MIME $B%$%s%?!<%U%'!<%9$N5!G=$rJ8=q2=$7$?$b$N$G$9!#(B -Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 +Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. @quotation @@ -825,24 +825,24 @@ This plain text part is an attachment. @item mm-coding-system-priorities @vindex mm-coding-system-priorities $BAw=P$9$k%a%C%;!<%8$G;H$&(B coding system $B$NM%@hEY$r;XDj$7$^$9!#%G%#%U%)%k(B -$B%HCM$O(B @code{nil} $B$G!"$=$N>l9g$O(B Emacs $B$K$*$1$k%G%#%U%)%k%H$NM%@h=g0L$,(B -$BE,MQ$5$l$^$9!#CM$O(B coding system $B$N%7%s%\%k$N%j%9%H$G(B -$B$9(B (coding system $B$NJLL>$r;H$C$F$b9=$$$^$;$s!#@_Dj$9$k$H$-(B -$B$O(B @kbd{M-x describe-coding-system} $B$r;H$C$F!"(Bcoding system $B$NL>A0$,@53N(B -$B$G$"$k$3$H$r3N$+$a$F2<$5$$(B)$B!#Nc$($P!"(BUTF-8 $B$r:GM%@h$H$9$k$h$&$K(B Emacs $B$r(B -$B@_Dj$7$?$b$N$N!"2DG=$J>l9g$O(B ISO-8859-1 $B$G%a%C%;!<%8$rAw?.$9$k$h$&$K$7$?(B -$B$$$H$$$&>l9g$@$C$?$i!"$3$NJQ?t$r(B @code{(iso-8859-1)} $B$K$9$l$PNI$$$G$7$g(B -$B$&!#(B@acronym{MML} $B$N(B @code{charset} $B%?%0$r;H$C$F!"%a%C%;!<%8Kh$K$=$l$r$3(B -$B$NJQ?t$h$jM%@h$5$;$k$3$H$b$G$-$^$9(B (@pxref{MML Definition})$B!#(B +$B%HCM$O(B @code{nil} $B$G$9(B ($B$=$N>l9g$O(B Emacs $B$K$*$1$k%G%#%U%)%k%H$NM%@h=g0L(B +$B$,E,MQ$5$l$k(B) $B$,!"F|K\8l4D6-$G(B Emacs $B$rl9g$O(B @code{(iso-8859-1 +iso-2022-jp iso-2022-jp-2 shift_jis utf-8)} $B$K$J$j$^$9!#CM$O(B coding +system $B$N%7%s%\%k$N%j%9%H$G$9(B (coding system $B$NJLL>$r;H$C$F$b9=$$$^$;$s!#(B +$B@_Dj$9$k$H$-$O(B @kbd{M-x describe-coding-system} $B$r;H$C$F!"(Bcoding +system $B$NL>A0$,@53N$G$"$k$3$H$r3N$+$a$F2<$5$$(B)$B!#Nc$($P(B UTF-8 $B$r:GM%@h$H(B +$B$9$k$h$&$K(B Emacs $B$r@_Dj$7$?$b$N$N!"2DG=$J>l9g$O(B ISO-8859-1 $B$G(B $B%a%C%;!<%8(B +$B$rAw?.$9$k$h$&$K$7$?$$$H$$$&>l9g$@$C$?$i!"$3$NJQ?t(B +$B$r(B @code{(iso-8859-1)} $B$K$9$l$PNI$$$G$7$g$&!#(B +@acronym{MML} $B$N(B @code{charset} $B%?%0$r;H$C$F!"%a%C%;!<%8Kh$K$=$l$r$3$NJQ(B +$B?t$h$jM%@h$5$;$k$3$H$b$G$-$^$9(B (@pxref{MML Definition})$B!#(B @quotation -$BLuCm(B: $BF|K\8l4D6-(B (@code{current-language-environment} $BJQ?t$NCM(B -$B$,(B @samp{Japanese} $B$K$J$C$F$$$k4D6-(B) $B$G$O!"%G%#%U%)%k%HCM$,(B -@code{(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)} $B$K$J$j$^$9!#(B -$BF|K\8l$N%a%C%;!<%8$N%(%s%3!<%I$K$OEAE}E*$K(B @code{iso-2022-jp} $B$,;H$o$l$F(B -$B$$$k$N$KBP$7!"(BEmacs $B$GDj$a$i$l$?M%@h=g0L$K4p$E$/(B -$B$H(B @code{euc-jp} $B$d(B @code{shift_jis} $B$J$I$,Bh0l8uJd$K$J$C$F$7$^$&$N$G!"(B -$B$3$N$h$&$J@_Dj$,I,MW$J$N$G$9!#(B +$BLuCm(B: $BF|K\8l4D6-$H$O(B @code{current-language-environment} $BJQ?t$NCM(B +$B$,(B @samp{Japanese} $B$K$J$C$F$$$k4D6-$N$3$H$G$9!#F|K\8l$N%a%C%;!<%8$N%(%s(B +$B%3!<%I$K$OEAE}E*$K(B @code{iso-2022-jp} $B$,;H$o$l$F$$$k$N$KBP$7!"(BEmacs $B$GDj(B +$B$a$i$l$?M%@h=g0L$K4p$E$/$H(B @code{euc-jp} $B$d(B @code{shift_jis} $B$J$I$,Bh0l(B +$B8uJd$K$J$C$F$7$^$&$N$G!"$3$NCM$,(B @code{nil} $B$G$O$h$m$7$/$J$$$N$G$9!#(B $B$J$*!"%i%F%s8l7w$N?M$?$A$K08$F$F$KAw$k%a%C%;!<%8$,!"H`$i$,%G%3!<%I$G$-$J(B $B$$$+$b$7$l$J$$(B @code{iso-2022-jp-2} $B$J$I$G%(%s%3!<%I$5$l$F$7$^$&$N$rKI$0(B @@ -907,7 +907,8 @@ Manual})$B!#(B@acronym{ASCII} $BJ8;z%;%C%H$7$+L5$1$l$P!"(B@acronym{MIME} $B @vindex mm-mime-mule-charset-alist @sc{mule} $B5!G=$rHw$($?(B Emacs $B$rAv$i$;$F$$$k>l9g$O!"$b$N$4$H$OB?>/J#;($K(B $B$J$j$^$9!#$3$N>l9g$O!"%Q!<%H$G;H$o$l$F$$$k(B @sc{mule} $BJ8;z%;%C%H$N%j%9%H(B -$B$re$NMWAG(B @@ -922,12 +923,6 @@ Manual})$B!#(B@acronym{ASCII} $BJ8;z%;%C%H$7$+L5$1$l$P!"(B@acronym{MIME} $B $B$N(B @acronym{MIME} $BJ8;z%;%C%H$,I,MW$@$H$9$k$H!"$=$N%Q!<%H$r%(%s%3!<%I$9$k(B $B$3$H$OIT2DG=$G$9!#(B -@quotation -$BLuCm(B: @code{mm-mime-mule-charset-alist} $BJQ?t$r;H$&$N$Oe5-$N=hM}$G$O$=$l$,;H$o$l$^$9!#(B -@end quotation - @sc{mule} $B5!G=$rHw$($?(B Emacs $B$rAv$i$;$F$$$k>l9g!"$I$N(B coding system $B$r;H(B $B$&$+$NM%@h=g0L$O(B Emacs $B<+?H$+$i7Q>5$5$l$^$9!#$3$l$O!"$b(B $B$7(B Emacs $B$,(B UTF-8 $B$rM%@h$9$k$h$&$K@_Dj$5$l$F$$$k$H!"$=$l$,%a%C%;!<%8$N%((B @@ -1197,57 +1192,56 @@ Emacs @acronym{MIME} $B%i%$%V%i%j!<$O0[$J$kJ}?K$G9T$/$3$H$K$7$^$7$?!#$3$l(B $B$$$F!"O$G@bL@$7$^$9!#(B @node Basic Functions -@chapter Basic Functions +@chapter $B4pK\E*$J4X?t(B -This chapter describes the basic, ground-level functions for parsing and -handling. Covered here is parsing @code{From} lines, removing comments -from header lines, decoding encoded words, parsing date headers and so -on. High-level functionality is dealt with in the next chapter -(@pxref{Decoding and Viewing}). +$B$3$N>O$O!"2<0L$N3,AX$K$"$k4pK\E*$J!"2r@O$H=hM}$r9T$J$&4X?t$K$D$$$F@bL@$7(B +$B$^$9!#$3$3$G07$&$3$H$O(B @code{From} $B9T$N2r@O!"%X%C%@!<$N3F9T$K$"$k%3%a%s(B +$B%H$N:o=|!"8l$N%G%3!<%I$H%(%s%3!<%I!";~9o%X%C%@!<$N2r@O$J$I$G$9!#>e0L3,AX(B +$B$N5!G=$O:G=i$N>O(B (@pxref{Decoding and Viewing}) $B$G07$$$^$9!#(B @menu -* rfc2045:: Encoding @code{Content-Type} headers. -* rfc2231:: Parsing @code{Content-Type} headers. -* ietf-drums:: Handling mail headers defined by RFC822bis. -* rfc2047:: En/decoding encoded words in headers. -* time-date:: Functions for parsing dates and manipulating time. -* qp:: Quoted-Printable en/decoding. -* base64:: Base64 en/decoding. -* binhex:: Binhex decoding. -* uudecode:: Uuencode decoding. -* yenc:: Yenc decoding. -* rfc1843:: Decoding HZ-encoded text. -* mailcap:: How parts are displayed is specified by the @file{.mailcap} file +* rfc2045:: @code{Content-Type} $B%X%C%@!<$N%(%s%3!<%I(B +* rfc2231:: @code{Content-Type} $B%X%C%@!<$N2r@O(B +* ietf-drums:: RFC822bis $B$GDj5A$5$l$?%a!<%k%X%C%@!<$N=hM}(B +* rfc2047:: $B%X%C%@!<$K$*$1$k8l$N%(%s%3!<%I$H%G%3!<%I(B +* time-date:: $BF|IU$N2r@O$*$h$S;~9o$rA`:n$9$k4X?t(B +* qp:: Quoted-Printable $B$N%(%s%3!<%I$H%G%3!<%I(B +* base64:: Base64 $B$N%(%s%3!<%I$H%G%3!<%I(B +* binhex:: Binhex $B$N%G%3!<%I(B +* uudecode:: Uuencode $B$N%G%3!<%I(B +* yenc:: Yenc $B$N%G%3!<%I(B +* rfc1843:: HZ-$BId9f2=$5$l$?%F%-%9%H$N%G%3!<%I(B +* mailcap:: $B%Q!<%H$NI=<($N;EJ}$O(B @file{.mailcap} $B%U%!%$%k$KL@5-$5$l$F$$$k(B @end menu +$BLuCm(B: RFC822bis == draft-ietf-drums-msg-fmt-09.txt @node rfc2045 @section rfc2045 -RFC2045 is the ``main'' @acronym{MIME} document, and as such, one would -imagine that there would be a lot to implement. But there isn't, since -most of the implementation details are delegated to the subsequent -RFCs. +RFC2045 $B$O!V\:Y$J.?h$JL>>N$O(B @dfn{MIME Parameter Value and +Encoded Word Extensions: Character Sets, Languages, and Continuations} +$B$G$9!#(B -In short, these headers look something like this: +$B0l8}$G8@$&$H!"$=$l$i$N%X%C%@!<$O$3$s$J$U$&$G$9(B: @example Content-Type: application/x-stuff; @@ -1256,15 +1250,14 @@ Content-Type: application/x-stuff; title*2="isn't it!" @end example -They usually aren't this bad, though. +$BIaDL$O$3$s$J$K$R$I$/$J$$$G$9$,!#(B -The following functions are defined by this library: +$B0J2<$N4X?t$,$3$N%i%$%V%i%j!<$GDj5A$5$l$F$$$^$9(B: @table @code @item rfc2231-parse-string @findex rfc2231-parse-string -Parse a @code{Content-Type} header and return a list describing its -elements. +@code{Content-Type} $B%X%C%@!<$r2r@O$7$F!"$=$NMWAG$rI=$9%j%9%H$rJV$7$^$9!#(B @example (rfc2231-parse-string @@ -1278,166 +1271,161 @@ elements. @item rfc2231-get-value @findex rfc2231-get-value -Takes one of the lists on the format above and returns -the value of the specified attribute. +$B>e5-$N7A<0$N%j%9%H$N0l$D$rv$s$G(B +$BJ#?t9T$K$9$k$H$-$K;H$&O"7k;R(B; $B2~9TJ8;z(B+$B6uGrJ8;z(B) $B$rA0$r4^$`(B +$B%j%9%H$rJV$7$^$9!#(B @item ietf-drums-parse-addresses @findex ietf-drums-parse-addresses -Parse a string that contains any number of comma-separated addresses and -return a list that contains mailbox/plain text pairs. +$B%+%s%^$G6h@Z$i$l$?J#?t$N%"%I%l%9$r4^$s$G$$$kJ8;zNs$r2r@O$7$F!"%a!<%k%\%C(B +$B%/%9$H%W%l!<%s%F%-%9%H$NBP$r4^$`%j%9%H$rJV$7$^$9!#(B @item ietf-drums-parse-date @findex ietf-drums-parse-date -Parse a date string and return an Emacs time structure. +$BF|IU$NJ8;zNs$r2r@O$7$F!"(BEmacs $B7A<0$N;~9o$rJV$7$^$9!#(B @item ietf-drums-narrow-to-header @findex ietf-drums-narrow-to-header -Narrow the buffer to the header section of the current buffer. - +$B8=:_$N%P%C%U%!$r%X%C%@!<$N6h0h$K69$a$^$9!#(B @end table - @node rfc2047 @section rfc2047 -RFC2047 (Message Header Extensions for Non-@acronym{ASCII} Text) specifies how -non-@acronym{ASCII} text in headers are to be encoded. This is actually rather -complicated, so a number of variables are necessary to tweak what this -library does. +RFC2047 (Message Header Extensions for Non-@acronym{ASCII} Text) $B$O!"%X%C(B +$B%@!<$K$"$kHs(B-@acronym{ASCII} $B%F%-%9%H$r$I$N$h$&$K%(%s%3!<%I$9$k$+$rDj$a(B +$B$^$9!#/!9J#;($K$J$k$N$G!"$3$N%i%$%V%i%j!<$,9T$J$&$3$H$rD4@0$9(B +$B$k$?$a$K!"B?$/$NJQ?t$,I,MW$G$9!#(B -The following variables are tweakable: +$B0J2<$NJQ?t$,D4@02DG=$G$9(B: @table @code @item rfc2047-header-encoding-alist @vindex rfc2047-header-encoding-alist -This is an alist of header / encoding-type pairs. Its main purpose is -to prevent encoding of certain headers. +$B$3$l$O%X%C%@!<$H%(%s%3!<%G%#%s%0!&%?%$%W$NBP$r<}$a$?O"A[%j%9%H$G$9!#$=$N(B +$Bl9g$O%X%C%@!<$,%"%I%l%9$r4^$s$G$$$k$3$H$rA[Dj$7$F(B +$BCm0U?<$/%(%s%3!<%I$7$^$9!#(B @item rfc2047-charset-encoding-alist @vindex rfc2047-charset-encoding-alist -RFC2047 specifies two forms of encoding---@code{Q} (a -Quoted-Printable-like encoding) and @code{B} (base64). This alist -specifies which charset should use which encoding. +RFC2047 $B$OFs$D$N%(%s%3!<%G%#%s%0$N7A<0$rDj$a$F$$$^$9!#0l$D$O(B @code{Q} +(Quoted-Printable $B$N$h$&$J%(%s%3!<%G%#%s%0(B) $B$G!"$b$&0l$D$O(B @code{B} +(base64) $B$G$9!#$3$NO"A[%j%9%H$O!"$"$kJ8;z%;%C%H$KBP$7$F$I$N%(%s%3!<%G%#(B +$B%s%0$r;H$&$+$r5,Dj$7$^$9!#(B @item rfc2047-encode-function-alist @vindex rfc2047-encode-function-alist -This is an alist of encoding / function pairs. The encodings are -@code{Q}, @code{B} and @code{nil}. +$B$3$l$O%(%s%3!<%G%#%s%0$H4X?t$NBP$r<}$a$?O"A[%j%9%H$G$9!#%(%s%3!<%G%#%s%0(B +$B$H$O(B @code{Q}, @code{B} $B$*$h$S(B @code{nil} $B$N$3$H$G$9!#(B @item rfc2047-encoded-word-regexp @vindex rfc2047-encoded-word-regexp -When decoding words, this library looks for matches to this regexp. +$B%G%3!<%I$r9T$J$&$H$-!"$3$N%i%$%V%i%j!<$O$3$N@55,I=8=$K9gCW$9$k$b$N$rC5$7(B +$B$^$9!#(B @item rfc2047-encode-encoded-words @vindex rfc2047-encode-encoded-words -The boolean variable specifies whether encoded words -(e.g. @samp{=?hello?=}) should be encoded again. - +$B%(%s%3!<%I:Q$_$N8l(B ($BNc$($P(B @samp{=?hello?=}) $B$r:FEY%(%s%3!<%I$9$k$+$I$&(B +$B$+$r7h$a$k%V!<%kJQ?t$G$9!#(B @end table -Those were the variables, and these are this functions: +$B0J>e$OJQ?t$G$7$?!#$C$F%(%s%3!<%I$7$^$9!#(B @item rfc2047-encode-region @findex rfc2047-encode-region -Encodes all encodable words in the region specified. +$B;XDj$5$l$?NN0h$K$"$k$9$Y$F$N%(%s%3!<%I2DG=$J8l$r%(%s%3!<%I$7$^$9!#(B @item rfc2047-encode-string @findex rfc2047-encode-string -Encode a string and return the results. +$BJ8;zNs$r%(%s%3!<%I$7$F7k2L$rJV$7$^$9!#(B @item rfc2047-decode-region @findex rfc2047-decode-region -Decode the encoded words in the region. +$BNN0h$K$"$k%(%s%3!<%I$5$l$?8l$r%G%3!<%I$7$^$9!#(B @item rfc2047-decode-string @findex rfc2047-decode-string -Decode a string and return the results. +$BJ8;zNs$r%G%3!<%I$7$F7k2L$rJV$7$^$9!#(B @item rfc2047-encode-parameter @findex rfc2047-encode-parameter -Encode a parameter in the RFC2047-like style. This is a replacement for -the @code{rfc2231-encode-string} function. @xref{rfc2231}. - -When attaching files as @acronym{MIME} parts, we should use the RFC2231 -encoding to specify the file names containing non-@acronym{ASCII} -characters. However, many mail softwares don't support it in practice -and recipients won't be able to extract files with correct names. -Instead, the RFC2047-like encoding is acceptable generally. This -function provides the very RFC2047-like encoding, resigning to such a -regrettable trend. To use it, put the following line in your -@file{~/.gnus.el} file: +$B%Q%i%a!<%?$r(B RFC2047 $B$U$&$NMM<0$G%(%s%3!<%I$7$^$9!#$3$l(B +$B$O(B @code{rfc2231-encode-string} $B$NCV$-49$($G$9!#(B@xref{rfc2231}. + +$B%U%!%$%k$r(B @acronym{MIME} $B$N%Q!<%H$H$7$FE:IU$9$k$H$-!"(B +$BHs(B-@acronym{ASCII} $BJ8;z$r4^$`%U%!%$%kL>$r;XDj$9$k$K$O(B RFC2231 $B$N%(%s%3!<(B +$B%G%#%s%0$r;H$o$J$1$l$P$J$j$^$;$s!#$7$+$7!"$rCj=P$9$k$3$H$,$G(B +$B$-$^$;$s!#Be$o$j$K(B RFC2047 $B$U$&$N%(%s%3!<%G%#%s%0$,!"9-$/p$1$J$$IwD,$r4El9g$K%<%m;~9o$rJV$7$^$9!#(B -The five data representations used are the following: +$B8^$D$N%G!<%?$O0J2<$N$h$&$KI=8=$5$l$^$9(B: @table @var @item date -An RFC822 (or similar) date string. For instance: @code{"Sat Sep 12 -12:21:54 1998 +0200"}. +RFC822 ($B$^$?$ON`;w$N(B) $B7A<0$NF|IU$NJ8;zNs!#Nc(B: @code{"Sat Sep 12 12:21:54 +1998 +0200"} @item time -An internal Emacs time. For instance: @code{(13818 26466)}. +Emacs $B$NFbIt7A<0$N;~9o!#Nc(B: @code{(13818 26466)} @item seconds -A floating point representation of the internal Emacs time. For -instance: @code{905595714.0}. +Emacs $B$NFbIt7A<0$N;~9o$rIbF0>.?t$GI=$7$?$b$N!#Nc(B: @code{905595714.0} @item days -An integer number representing the number of days since 00000101. For -instance: @code{729644}. +00000101 $B$r4pE@$H$9$k7P2aF|?t$r@0?t$GI=$7$?$b$N!#Nc(B: @code{729644} + +$BLuCm(B: 00000101 $B$,2?$r0UL#$9$k$N$+ITL@$G$9$,!"%=!<%9%3!<%I$K$h$l$P%0%l%4(B +$B%j%*Nr!&5*85A0(B (BC $B$G$O$J$/(B BCE $B$NJ}$N(B) 0001$BG/(B12$B7n(B31$BF|$N$3$H$i$7$$$G$9!#(B @item decoded time -A list of decoded time. For instance: @code{(54 21 12 12 9 1998 6 t -7200)}. +$B%G%3!<%I$5$l$?;~9o$N%j%9%H!#Nc(B: @code{(54 21 12 12 9 1998 6 t 7200)} @end table -All the examples above represent the same moment. +$B>e5-$N$9$Y$F$NNc$O!"F1$8;~$rI=$7$F$$$^$9!#(B -These are the functions available: +$B4X?t$K$O0J2<$N$h$&$J$b$N$,$"$j$^$9(B: @table @code @item date-to-time -Take a date and return a time. +$BF|IU$r/$J$$(B ($B$9$J$o$AAa$$(B) $B$+$I$&$+(B +$B$r<($7$^$9!#(B @item time-since -Take a time and return a time saying how long it was since that time. +$B;~9o$ro$KJN,$G$-$kBh;00z?t(B @var{fold} $B$O!"D9$$9T$r@^$j>v$`$+$I$&$+$r;XDj$7$^$9!#(B +($B$3$3$G!VD9$$!W$O(B 72$B7e$r1[$($k$b$N$N$3$H$r0UL#$7$^$9!#(B) @item quoted-printable-encode-string @findex quoted-printable-encode-string -QP-encode all the encodable characters in a string and return the -results. - +$BJ8;zNs$K4^$^$l$F$$$k$9$Y$F$N%(%s%3!<%I2DG=$JJ8;z$r(B QP-$B%(%s%3!<%I$7$F!"7k(B +$B2L$rJV$7$^$9!#(B @end table - @node base64 @section base64 @cindex base64 -Base64 is an encoding that encodes three bytes into four characters, -thereby increasing the size by about 33%. The alphabet used for -encoding is very resistant to mangling during transit. +Base64 $B$O(B 3-$B%P%$%H$r(B 4-$B%P%$%H$K%(%s%3!<%I$7$^$9!#$=$N$?$a!"Ls(B 33% $B%5%$%:(B +$B$,A}$($^$9!#%(%s%3!<%I$G;H$o$l$k%"%k%U%!%Y%C%H$O!"EAAw$5$l$k4V$KBfL5$7$K(B +$B$5$l$k$3$H$KBP$7$F$H$F$bBQ5WNO$,$"$j$^$9!#(B -The following functions are defined by this library: +$B0J2<$N4X?t$,$3$N%i%$%V%i%j!<$K$h$C$FDj5A$5$l$F$$$^$9(B: @table @code @item base64-encode-region @findex base64-encode-region -base64 encode the selected region. Return the length of the encoded -text. Optional third argument @var{no-line-break} means do not break -long lines into shorter lines. +$BA*Br$5$l$?NN0h$r(B base64 $B$G%(%s%3!<%I$7$F!"%(%s%3!<%I$5$l$?%F%-%9%H$ND9$5(B +$B$rJV$7$^$9!#>JN,$G$-$kBh;00z?t(B @var{no-line-break} $B$O!"D9$$9T$r$h$jC;$$(B +$B9T$K@^$j>v$^$J$$$3$H$r;X?^$7$^$9!#(B @item base64-encode-string @findex base64-encode-string -base64 encode a string and return the result. +$BJ8;zNs$r(B base64 $B$G%(%s%3!<%I$7$F7k2L$rJV$7$^$9!#(B @item base64-decode-region @findex base64-decode-region -base64 decode the selected region. Return the length of the decoded -text. If the region can't be decoded, return @code{nil} and don't -modify the buffer. +$BA*Br$5$l$?NN0h$r(B base64 $B$G%G%3!<%I$7$F!"%G%3!<%I$5$l$?%F%-%9%H$ND9$5$rJV(B +$B$7$^$9!#NN0h$,%G%3!<%I2DG=$G$J$+$C$?$i!"(B@code{nil} $B$rJV$9$@$1$G%P%C%U%!(B +$B$OJQ99$7$^$;$s!#(B @item base64-decode-string @findex base64-decode-string -base64 decode a string and return the result. If the string can't be -decoded, @code{nil} is returned. - +$BJ8;zNs$r(B base64 $B$G%G%3!<%I$7$F7k2L$rJV$7$^$9!#J8;zNs$,%G%3!<%I2DG=$G$J$+$C(B +$B$?$i(B @code{nil} $B$rJV$7$^$9!#(B @end table - @node binhex @section binhex @cindex binhex @cindex Apple @cindex Macintosh -@code{binhex} is an encoding that originated in Macintosh environments. -The following function is supplied to deal with these: +@code{binhex} $B$O%^%C%-%s%H%C%7%e$N4D6-$K8;$rH/$9$k%(%s%3!<%G%#%s%0$G$9!#(B +$B0J2<$N4X?t$,$=$l$i$r07$&$?$a$K6!5k$5$l$F$$$^$9(B: @table @code @item binhex-decode-region @findex binhex-decode-region -Decode the encoded text in the region. If given a third parameter, only -decode the @code{binhex} header and return the filename. - +$BNN0h$K$"$k%(%s%3!<%I$5$l$?%F%-%9%H$r%G%3!<%I$7$^$9!#Bh;0%Q%i%a!<%?$,M?$((B +$B$i$l$k$H!"(B@code{binhex} $B$N%X%C%@!<$r%G%3!<%I$7$F%U%!%$%kL>$rJV$9$3$H$@$1(B +$B$r$7$^$9!#(B @end table @node uudecode @@ -1656,67 +1638,64 @@ decode the @code{binhex} header and return the filename. @cindex uuencode @cindex uudecode -@code{uuencode} is probably still the most popular encoding of binaries -used on Usenet, although @code{base64} rules the mail world. +@code{base64} $B$,%a!<%k$N@$3&$r;YG[$7$F$$$k$b$N$N!"$*$=$i(B +$B$/(B @code{uuencode} $B$O$^$@(B Usenet $B$G;H$o$l$F$$$k:G$bIa5Z$7$F$$$k%P%$%J%j!<(B +$B$N%(%s%3!<%G%#%s%0$G$9!#(B -The following function is supplied by this package: +$B0J2<$N4X?t$,$3$N%Q%C%1!<%8$K$h$C$F6!5k$5$l$F$$$^$9(B: @table @code @item uudecode-decode-region @findex uudecode-decode-region -Decode the text in the region. +$BNN0h$K$"$k%F%-%9%H$r%G%3!<%I$7$^$9!#(B @end table - @node yenc @section yenc @cindex yenc -@code{yenc} is used for encoding binaries on Usenet. The following -function is supplied by this package: +@code{yenc} $B$O(B Usenet $B$G%P%$%J%j!<$r%(%s%3!<%I$9$k$?$a$K;H$o$l$^$9!#0J2<(B +$B$N4X?t$,$3$N%Q%C%1!<%8$K$h$C$F6!5k$5$l$F$$$^$9(B: @table @code @item yenc-decode-region @findex yenc-decode-region -Decode the encoded text in the region. - +$BNN0h$K$"$k%(%s%3!<%I$5$l$?%F%-%9%H$r%G%3!<%I$7$^$9!#(B @end table - @node rfc1843 @section rfc1843 @cindex rfc1843 @cindex HZ @cindex Chinese -RFC1843 deals with mixing Chinese and @acronym{ASCII} characters in messages. In -essence, RFC1843 switches between @acronym{ASCII} and Chinese by doing this: +RFC1843 $B$O%a%C%;!<%8$K$*$1$kCf9q8l$H(B @acronym{ASCII} $BJ8;z$N:.:_J8$r07$$(B +$B$^$9!#K\$C$F!"MM!9$JMWAG$rO$G$O4XO"$9$k$b$N(B +$B$rNs5s$7$^$9!#$3$l$i$O$9$Y$F(B @uref{http://quimby.gnus.org/notes/} $B$+$ipJsDL?.I=8=(B: Content-Disposition $B%X%C%@!<%U%#!<(B +$B%k%I!#(B @item RFC2646 -Documentation of the text/plain format parameter for flowed text. - +$BN.F0%F%-%9%H$N$?$a$N(B text/plain $B=q<0%Q%i%a!<%?!#(B @end table - @node Index @chapter Index @printindex cp -- 1.7.10.4