From: "Bjørn Mork" <bmork@dod.no>
Subject: Re: Display unknown non-ASCII chars as `.', `X' or `?'
Date: Fri, 14 Oct 2005 08:38:11 +0200 [thread overview]
Message-ID: <87d5m8eh7w.fsf@obelix.mork.no> (raw)
In-Reply-To: <v9d5m9taly.fsf@marauder.physik.uni-ulm.de>
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> On Wed, Oct 12 2005, Bjørn Mork wrote:
>> Reiner Steib <reinersteib+gmane@imap.cc> writes:
> [...]
>>> While at it...
>>> | If so, why does it not replace everything by dots, X or ?.
>>>
>>> I.e. if the charset is not available: How can we configure Gnus to
>>> display every non-ASCII chars as `.', `X' or `?'?
>>
>> This is a violation of RFC2049, which gives the following criteria for
>> a MIME-conformant MUA:
>>
>> -- Treat material in an unknown character set as if it were
>> "application/octet-stream".
>
> I fail to see the connection (Disclaimer: I didn't read this RFC).
> "application/octet-stream" is a content type, whereas I was talking
> about the charset.
Sorry, my fault. I didn't quote enough to make it understandable.
The part above comes from
2. MIME Conformance
[..]
A mail user agent that is MIME-conformant MUST:
[..]
(6) Explicitly handle the following media type values, to
at least the following extents:
Text:
[..]
-- Treat material in an unknown character set as if
it were "application/octet-stream".
> BTW: Yesterday, in the German newsgroup de.comm.software.newsreader a
> thread titled "Zeichensatz erraten"[1] started about this topic. Some
> people claim that the receiver _must_ assume `us-ascii' when MIME
> headers are absent.
That's not true. RFC2049 says
(8) Conformant user agents are required, if they provide
non-standard support for non-MIME messages employing
character sets other than US-ASCII, to do so on
received messages only. Conforming user agents must not
send non-MIME messages containing anything other than
US-ASCII text.
In particular, the use of non-US-ASCII text in mail
messages without a MIME-Version field is strongly
discouraged as it impedes interoperability when sending
messages between regions with different localization
conventions. Conforming user agents MUST include proper
MIME labelling when sending anything other than plain
text in the US-ASCII character set.
In addition, non-MIME user agents should be upgraded if
at all possible to include appropriate MIME header
information in the messages they send even if nothing
else in MIME is supported. This upgrade will have
little, if any, effect on non-MIME recipients and will
aid MIME in correctly displaying such messages. It
also provides a smooth transition path to eventual
adoption of other MIME capabilities.
> In case it wasn't clear: I don't want to change Gnus default behavior.
> But maybe it makes sense to replace unknown chars by `?' for some
> users so it should be possible to do this with Gnus.
I should have known: That's the proper Gnus way to do things.
I guess that makes the proposal OK.
Bjørn
--
I'll bet you think that random frobs are disgusting.
prev parent reply other threads:[~2005-10-14 6:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 21:52 Setup additional charsets on demand Reiner Steib
2005-10-11 22:19 ` Display unknown non-ASCII chars as `.', `X' or `?' (was: Setup additional charsets on demand) Reiner Steib
2005-10-12 7:58 ` Display unknown non-ASCII chars as `.', `X' or `?' Bjørn Mork
2005-10-13 20:39 ` Reiner Steib
2005-10-14 6:38 ` Bjørn Mork [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d5m8eh7w.fsf@obelix.mork.no \
--to=bmork@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).