Re: [I18ndir] Review volunteer needed (Fwd: [dispatch] WGLC of draft-ietf-dispatch-javascript-mjs-07)

Patrik Fältström <patrik@frobbit.se> Wed, 29 April 2020 18:58 UTC

Return-Path: <patrik@frobbit.se>
X-Original-To: i18ndir@ietfa.amsl.com
Delivered-To: i18ndir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C39583A1644 for <i18ndir@ietfa.amsl.com>; Wed, 29 Apr 2020 11:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=frobbit.se
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqQICN6NKm-T for <i18ndir@ietfa.amsl.com>; Wed, 29 Apr 2020 11:58:56 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACDBF3A1655 for <i18ndir@ietf.org>; Wed, 29 Apr 2020 11:58:56 -0700 (PDT)
Received: from [192.165.72.241] (unknown [IPv6:2a02:80:3ffc:0:307d:1cd3:20c6:b2b0]) by mail.frobbit.se (Postfix) with ESMTPSA id 0311028AF5; Wed, 29 Apr 2020 20:58:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=frobbit.se; s=mail; t=1588186734; bh=VAP66M8d7bz6J9Iyf3rhkc2KxyQ6kZa0JsyhvdX81g8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V1gK4eeuF0uzzl7cJQSRJAPUTURsafZsek1mcQXzCm4jn66W95/dhMGsL+Jw+XSEu DHULrtKe8a2tGrEgaPOwdmnC9jGderJdFTCHgxUiEugIkPi1JExMrZ+nLjrj43mIgk /Y3vwm/98SuhPmtkdcWW1w5eungM2HhGFWo0T9sc=
From: Patrik Fältström <patrik@frobbit.se>
To: Pete Resnick <resnick@episteme.net>
Cc: Internationalization Directorate <i18ndir@ietf.org>, John C Klensin <john-ietf@jck.com>
Date: Wed, 29 Apr 2020 20:58:51 +0200
X-Mailer: MailMate (1.13.1r5676)
Message-ID: <A9854982-3696-46FF-AD5C-8088CFCDD8FC@frobbit.se>
In-Reply-To: <31CF68D680D76D7F45FAB3E2@PSB>
References: <E552C138-7938-42BD-B2B2-26AD8AA43516@nostrum.com> <A93B38FC-7D55-4D06-80AE-F165F242F259@episteme.net> <31CF68D680D76D7F45FAB3E2@PSB>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_B7FAA321-05E9-4ADC-ADAA-D0BBDC6BCA96_="; micalg="pgp-sha1"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/j6weJyLQbcqkZPB9U_gHa4uww8U>
Subject: Re: [I18ndir] Review volunteer needed (Fwd: [dispatch] WGLC of draft-ietf-dispatch-javascript-mjs-07)
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Directorate <i18ndir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18ndir/>
List-Post: <mailto:i18ndir@ietf.org>
List-Help: <mailto:i18ndir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Apr 2020 18:58:59 -0000

On 29 Apr 2020, at 3:41, John C Klensin wrote:

> Since some hours have gone by without a response to your message and I was in need of an excuse to delay getting to an unpleasant task...

Now I have read the draft as well.

> Moreover, if I correctly understand what seems like unnecessary convoluted text (in both versions) a BOM is ignored in further processing if the character encoding scheme is determined to be UTF-8 in 4.2(2) or 4.2(3) but not ignored if charset="UTF-8" is present and the BOM occurs anyway (something clearly allowed by RFC 3629).  That doesn't appear to make sense.

I think I see the same thing as you, which is that even if the charset parameter states the encoding is UTF-8, if the data itself starts with a BOM, then the text is to be treated as UTF-16.

That is just so wrong.

I went to the ECMA spec and see they use UTF-16 all over the place, and have to bend over backwards to get things right. It feels like reading a BER encoding spec (again). :-)

This "problem" do already exist in RFC 4329...

But, if they update RFC 4329 I think they should clean this up, and my suggestion would be:

The encoding must be what is actually labeled. If the encoding is UTF-16 (which it seems it often is), then it should be tagged as UTF-16, not UTF-8 with BOM.

   Patrik

> If it was
> intended, enough of an explanation would be in order that the reader does not concluded it is just a mistake in the document (I notice the I-D already corrected a mistake in 4329).  So, having spent five minutes with 4329 and the diff and another five writing this note, I can say with some confidence that the I-D needs work and that someone is going to need to work with the document authors to explain the issues, some of which are substantive, not just text in need of tuning, and sort things out.   You may be looking for a volunteer to do that job, not just an early reviewer.
>
> Back to lurking.
>     john
>
>
>
>
> --On Tuesday, April 28, 2020 14:14 -0500 Pete Resnick
> <resnick@episteme.net> wrote:
>
>> Folks,
>>
>> DISPATCH has made a working group last call on
>> draft-ietf-dispatch-javascript-mjs. Given how much i18n
>> content there is, the ADs and chairs agreed that an early
>> review wouldn't hurt. There is a bunch of text about formal
>> programming languages in this draft, so I didn't want to just
>> stick somebody with it. Anyone feel comfortable enough to take
>> on a review?
>>
>> Note that the review itself is much less horrible than it
>> seems. This is really a -bis draft of RFC 4329, and most of
>> the i18n language in here is unchanged from 4329. See:
>>
>> https://www.ietf.org/rfcdiff?url1=rfc4329&url2=draft-ietf-disp
>> atch-javascript-mjs-07
>>
>> So it's really just reviewing any changes, and making sure
>> that nothing absolutely egregious was in 4329 itself.
>>
>> Thanks,
>>
>> pr
>>
>> Forwarded message:
>>
>>> From: Ben Campbell <ben@nostrum.com>
>>> To: DISPATCH WG <dispatch@ietf.org>
>>> Cc: dispatch chairs <dispatch-chairs@ietf.org>, ART ADs
>>> <art-ads@ietf.org>,
>>> draft-ietf-dispatch-javascript-mjs@ietf.org Subject:
>>> [dispatch] WGLC of draft-ietf-dispatch-javascript-mjs-07
>>> Date: Thu, 23 Apr 2020 14:24:47 -0500
>>>
>>> Hi,
>>>
>>> This is a repeat working group last call of
>>> draft-ietf-dispatch-javascript-mjs-07.
>>>
>>> https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascri
>>> pt-mjs/
>>>
>>> The new version has changed quite a bit due to feedback from
>>> the first  WGLC, shepherd feedback, and feedback from others.
>>> In particular, this  version obsoletes RFC 4329, rather than
>>> updating as did the version  from the first WGLC.
>>>
>>> This WGLC will end on 8 May 20202. Please send feedback to
>>> the  DISPATCH list and the authors. And if you review the
>>> document and  think it's ready to go, please say so.
>>>
>>> Thanks!
>>>
>>> Ben
>
>
> -- 
> I18ndir mailing list
> I18ndir@ietf.org
> https://www.ietf.org/mailman/listinfo/i18ndir