From b462ef65187f6b49908c43671467222ed8ec119e Mon Sep 17 00:00:00 2001 From: morioka Date: Sat, 4 Jul 1998 12:07:25 +0000 Subject: [PATCH] update. --- ChangeLog | 3 +++ mime-en.texi | 8 ++++++-- mime-ja.texi | 8 ++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 32f84f2..6752e04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-07-04 MORIOKA Tomohiko + * 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. diff --git a/mime-en.texi b/mime-en.texi index 83319c9..e28e73f 100644 --- a/mime-en.texi +++ b/mime-en.texi @@ -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 diff --git a/mime-ja.texi b/mime-ja.texi index 4b3883d..e1fd0bb 100644 --- a/mime-ja.texi +++ b/mime-ja.texi @@ -232,10 +232,14 @@ used. @end defun -@defun mime-entity-encoding entity +@defun mime-entity-encoding entity &optional default-encoding @var{entity} の content-transfer-encoding を返す。 -(cf. @ref{Content-Transfer-Encoding}) +(cf. @ref{Content-Transfer-Encoding}) @refill + +もし、@var{entity} に Content-Transfer-Encoding 欄が存在しない場合は、 +@var{default-encoding} を返す。これが指定されない場合は、@code{"7bit"} +を用いる。 @end defun -- 1.7.10.4