Re: [apps-discuss] Last Call: <draft-ietf-appsawg-mime-default-charset-03.txt> (Update to MIME regarding Charset Parameter Handling in Textual Media Types) to Proposed Standard

t.petch <ietfc@btconnect.com> Fri, 11 May 2012 15:04 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D16321F84FB for <apps-discuss@ietfa.amsl.com>; Fri, 11 May 2012 08:04:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.281
X-Spam-Level:
X-Spam-Status: No, score=-3.281 tagged_above=-999 required=5 tests=[AWL=-0.282, BAYES_00=-2.599, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FIy0DU-5ZXz0 for <apps-discuss@ietfa.amsl.com>; Fri, 11 May 2012 08:04:54 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) by ietfa.amsl.com (Postfix) with ESMTP id 1D3C621F84FA for <apps-discuss@ietf.org>; Fri, 11 May 2012 08:04:53 -0700 (PDT)
Received: from mail11-ch1-R.bigfish.com (10.43.68.254) by CH1EHSOBE003.bigfish.com (10.43.70.53) with Microsoft SMTP Server id 14.1.225.23; Fri, 11 May 2012 15:04:51 +0000
Received: from mail11-ch1 (localhost [127.0.0.1]) by mail11-ch1-R.bigfish.com (Postfix) with ESMTP id 8800814062E; Fri, 11 May 2012 15:04:51 +0000 (UTC)
X-SpamScore: -35
X-BigFish: PS-35(zz9371I936eK542M1432N98dK1447Izz1202hzz1033IL8275bh8275dhz2dh2a8h5a9h668h839hd24h304l)
X-Forefront-Antispam-Report: CIP:157.55.224.141; KIP:(null); UIP:(null); IPV:NLI; H:DB3PRD0702HT005.eurprd07.prod.outlook.com; RD:none; EFVD:NLI
Received: from mail11-ch1 (localhost.localdomain [127.0.0.1]) by mail11-ch1 (MessageSwitch) id 1336748689570702_26799; Fri, 11 May 2012 15:04:49 +0000 (UTC)
Received: from CH1EHSMHS023.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.241]) by mail11-ch1.bigfish.com (Postfix) with ESMTP id 852EC48007C; Fri, 11 May 2012 15:04:49 +0000 (UTC)
Received: from DB3PRD0702HT005.eurprd07.prod.outlook.com (157.55.224.141) by CH1EHSMHS023.bigfish.com (10.43.70.23) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 11 May 2012 15:04:45 +0000
Received: from BY2PRD0710HT004.namprd07.prod.outlook.com (157.56.236.133) by pod51017.outlook.com (10.3.4.160) with Microsoft SMTP Server (TLS) id 14.15.74.2; Fri, 11 May 2012 15:04:33 +0000
Message-ID: <011601cd2f7e$b140a140$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Julian Reschke <julian.reschke@gmx.de>
References: <20120423132812.32410.11259.idtracker@ietfa.amsl.com><CAC4RtVDZfXi1JwGJLGwOVgsGuU-1dH-uj8bXTGCmjrva80mNhg@mail.gmail.com><01OF8RSPPS320006TF@mauve.mrochek.com><CALaySJLFrKSF9JPBC54j0EaTQ6SNXM2+tag2uU2SmVjWxE7Erg@mail.gmail.com> <01OF98WFXDKI0006TF@mauve.mrochek.com> <00a801cd2f7a$90e429c0$4001a8c0@gateway.2wire.net> <4FAD26E7.5020800@gmx.de>
Date: Fri, 11 May 2012 16:02:12 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [157.56.236.133]
X-OriginatorOrg: btconnect.com
Cc: Barry Leiba <barryleiba@computer.org>, Ned Freed <ned.freed@mrochek.com>, apps-discuss@ietf.org
Subject: Re: [apps-discuss] Last Call: <draft-ietf-appsawg-mime-default-charset-03.txt> (Update to MIME regarding Charset Parameter Handling in Textual Media Types) to Proposed Standard
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 May 2012 15:04:55 -0000

---- Original Message -----
From: "Julian Reschke" <julian.reschke@gmx.de>
To: "t.petch" <ietfc@btconnect.com>
Cc: "Barry Leiba" <barryleiba@computer.org>; "Ned Freed"
<ned.freed@mrochek.com>; <apps-discuss@ietf.org>
Sent: Friday, May 11, 2012 4:49 PM

> On 2012-05-11 14:59, t.petch wrote:
> > What charset should be used to inspect the content?  Should this be defined
in
> > this I-D?
> >
> > The new rules say that
> > "charset" parameter is not used for the defined
> >         subtype, because the charset information is transported inside
> >         the payload (such as in "text/xml")
> >
> >   But a charset is needed in order to read the payload and determine that
> > charset.  Catch-22?
> >...
>
> No. Just not trivial.
>
> See for instance <http://www.w3.org/TR/REC-xml/#sec-guessing>; HTML5 has
> similar (but surely more complex) rules.

Julian

Right, thanks for the reference.
"In the general case, this is a hopeless situation. It is not entirely hopeless
in XML, however, because XML limits the general case in two ways"

But ... that is saying that XML recognises the need to be able to auto-detect
the character encoding and is designed to do so.  This change to mime default
charset imposes the need to auto-detect on all future text/* where the encoding
is transported inside the payload, which the old rules did not.  Perhaps a
corner case not worth mentioning.

Tom Petch

> Best regards, Julian
>