update.
authormorioka <morioka>
Sat, 4 Jul 1998 12:07:25 +0000 (12:07 +0000)
committermorioka <morioka>
Sat, 4 Jul 1998 12:07:25 +0000 (12:07 +0000)
ChangeLog
mime-en.texi
mime-ja.texi

index 32f84f2..6752e04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1998-07-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
+       * mime-en.sgml, mime-ja.sgml (Entity Attributes): Add description
+       about `default-encoding' of `mime-entity-encoding'.
+
        * mime-en.texi, mime-en.sgml: New files.
 
        * mime-ja.sgml (media-type): Fix typo.
index 83319c9..e28e73f 100644 (file)
@@ -226,10 +226,14 @@ Return file name of @var{entity}.
 @end defun
 
 
-@defun mime-entity-encoding entity
+@defun mime-entity-encoding entity  &optional  default-encoding
 
 Return content-transfer-encoding of @var{entity}.
-(cf. @ref{Content-Transfer-Encoding})
+(cf. @ref{Content-Transfer-Encoding}) @refill
+
+If the @var{entity} does not have Content-Transfer-Encoding field, this
+function returns @var{default-encoding}.  If it is nil, @code{"7bit"} is
+used as default value.
 @end defun
 
 
index 4b3883d..e1fd0bb 100644 (file)
@@ -232,10 +232,14 @@ used.
 @end defun
 
 
-@defun mime-entity-encoding entity
+@defun mime-entity-encoding entity  &optional  default-encoding
 
 @var{entity} \e$B$N\e(B content-transfer-encoding \e$B$rJV$9!#\e(B
-(cf. @ref{Content-Transfer-Encoding})
+(cf. @ref{Content-Transfer-Encoding}) @refill
+
+\e$B$b$7!"\e(B@var{entity} \e$B$K\e(B Content-Transfer-Encoding \e$BMs$,B8:_$7$J$$>l9g$O!"\e(B
+@var{default-encoding} \e$B$rJV$9!#$3$l$,;XDj$5$l$J$$>l9g$O!"\e(B@code{"7bit"} 
+\e$B$rMQ$$$k!#\e(B
 @end defun