看板: BudaTech ◎ 佛典电子化讨论    板主: HeavenChow
阅读文章: 第 857/2032 篇 | 上篇 | 下篇 | 回覆 | 转寄 | 转贴 | m H d | 返回
发信人: huiqun@usa.net, 信区: BudaTech
标  题: Re: 夹档h.zip - h.zip
发信站: 国立中山大学网路组 Mailing List (Wed Jul 30 02:43:00 1997)
转信站: Lion!ccnews.nsysu!news.nsysu!buda-tech@sccid.nsysu
来  源: sccid.nsysu.edu.tw

>  h.zip  夹档成功了. 
>  a.zip  依然是乱码.
>  能否私下寄 a.zip 给小弟看看. 并教小弟二者设定的差异!
>  有心得後再通知 buda-tech 各位, 以慰各位收测试档之辛苦 :p

a.zip 和 h.zip 内容一样,都只有「测试」二字。
但 attachemnt=>properties 设定则完全不同。二种设定的测试结果如下:

                        MIME for
       Encoding for     Non-ASCII  Attachment  直接   Buda-tech
夹档   Main Body        Headers    Format      email  转送
----   ---------------  ---------  ----------  -----  ---------

a.zip  QuotedPrintable  Yes        MIME        成功   乱码
       (MIME)

h.zip  7bit/8bit        No         UUEncoded   成功   成功

一般来说,现今email都会用a.zip的设定,上usenet才会用h.zip的设定。
弟对测试结果还是不解。

以下是从Agent.hlp摘录的相关说明:

All About Attachments
=====================
A growing number of groups on the Usenet are devoted to posting
messages with media attachments.  The types of media attached to
messages are diverse - from images such as GIF and JPG files, to
recorded sounds saved in WAV files.  There are two major formats
used for messages with attachments: MIME and uuencoded.

MIME messages conform to this widely accepted message transferral
protocol in which messages consist of one or more sections.  Each
section can is either text or one of many different types of media
attachments.

Uuencoded messages contain attachments that are converted to a
text-based format using "UUCode", a utility that is closely aligned
to the Internet.

Fortunately, it doesn't matter which format is used for messages
with attachments that you retrieve.  Agent is pre-configured to
intelligently discern the format and launch or save message
attachments seamlessly.  Also, Agent allows you ro create simple or
complex MIME messages with ease.

Choosing between MIME and uuencoded format
------------------------------------------
When selecting the format for messages with attachments, you must
consider the hardware and software constraints of the message
recipient.  It defeats the purpose of your message if your MIME
attachment cannot be viewed (or heard) by the person receiving it.
Here's a good rule of thumb to follow:

□For email messages - Most major email programs support the
MIME format, so in many cases "MIME" would be the appropriate
choice.  (The safest thing to do is to find out whether your
recipient's email program supports MIME.)

□For Usenet messages - At the present time, most newsreaders
and participants in the Usenet use uuencoded format, so currently it
would be wise to choose "uuencoded" when posting attachments.  Of
course, this may change over time.  At some point, MIME may become
the standard format supported and used on the Usenet.

Advantages of MIME:
===================
□Greater reliability in transferring data - The MIME format
is a well defined, widely accepted message transferral protocol
which makes it possible for gateways to interpret message data
smoothly and efficiently.  Conversely, uuencoding comes in a number
of "flavors", each with its own set of rules.  Some gateways may
misinterpret or even damage uuencoded data during transfer.

□Splitting long messages - Messages cannot be longer than
100k bytes.  Files that are bigger than that must be split into
multiple messages.  Compared to the uuencoded mechanism, MIME allows
for a more graceful way of splitting long messages and then
reassembling the pieces when they are received.

Using MIME Quoted-Printable
===========================
Quoted-printable provides international character support (e.g.,
accented characters) via MIME.  The other type of text encoding
commonly used when posting messages on the Usenet is 8-bit text
encoding.  There are a few advantages for using quoted-printable
versus 8-bit encoding:

1.	Quoted-printable uses only 7 bits to encode 8-bit
characters.  Thus, information won't be lost when messages are
transferred via 7-bit gateways.
2.	Quoted-printable correctly encodes non-ascii characters
(such as accented characters).
3.	Quoted-printable allows lines of text to be arbitrarily
long, by inserting invisible line breaks where necessary to keep the
physical line lengths within prescribed limits.

TIP:
If you are sending messages to people who have MIME-capable
email/newsreaders, you will probably find that quoted-printable is
the best way to format your messages, since it allows you to type
long paragraphs without having to worry about how they will be
formatted.

If you are sending messages to people who don't have MIME-capable
email/newsreaders, or if you are posting to newsgroups, where
quoted-printable is not yet a universally accepted standard, you
will probably find that 8-bit is the best way to format your
messages.
阅读文章: 第 857/2032 篇 | 上篇 | 下篇 | 回覆 | 转寄 | 转贴 | m H d | 返回

□ 台大狮子吼佛学专站  http://buddhaspace.org