Re: [I18ndir] [art] Fwd: New Version Notification for draft-bray-unichars-04.txt

Rob Sayre <sayrer@gmail.com> Sat, 23 September 2023 19:49 UTC

Return-Path: <sayrer@gmail.com>
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 64BFCC14CEE3; Sat, 23 Sep 2023 12:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yu_NNB_90D2t; Sat, 23 Sep 2023 12:49:12 -0700 (PDT)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C58BFC14F747; Sat, 23 Sep 2023 12:49:12 -0700 (PDT)
Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5310a63cf7bso4723005a12.1; Sat, 23 Sep 2023 12:49:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695498551; x=1696103351; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QXyoIYGChX/V1g7kd4nCry5sX1BhWEDc3jIX6iB4odM=; b=M7AW1GYQENna7q7t8FUEDeGBC3Rkz/sZsJrrX7o6vg7ZWgE1AfjiJHL8MP09BQwh6e We1ZFYkQvOQdkHql9h5td3/GvcJHhIUm3nnQfRgGcSp1FWohxO8bN1wH6ZHBfuI1hbGk eN0n29MDoIVAIFs8wYFiUqQNo8gyz9NbOtDpRjXuTrStSnCafyYj7mb6UlXx6BSfUjPG 71OKYBDvy4VubdxlKh+qi5nDzT/NqsDWh6Ip2McH9Ml8xeeS3V1da1k/h2FQkeiCJLv2 EdUUe5JunAH3V8ICNrLgtWMPdlcLy50LM/t8AcMg2PpXcx0s1WePRzj0BiBmmD65OqfL jkBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695498551; x=1696103351; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QXyoIYGChX/V1g7kd4nCry5sX1BhWEDc3jIX6iB4odM=; b=UKHF3H0hPbhjzv/RU7kOjnoLg+kC25PXGgZbxkBYpsvv1Y/VuVCYEhOhFHQllSbb4W 7EptBwdmVrxwdYcZ/I2XnbZs5F1094UCIixMNirgcfPvVDTaTGW7uzGWnMpEpqeW7p68 L/N94FjK4m2wGb/6IQyhzvRSOreqOKWstZCTIHdIAe5dj+6nmMjXrz0rgHrO7fHXvYNk 1uAwnvr9YxyJe+yBv5ZuBoEtOO6xKnaifBPd9aJ+Zqyr8XoYVqZf4gfgZ2xiIYgkgBn1 hAv9FegIa9pcU0rCq5SuTU/pWxSmyqPxwg8zHzp59qtcASJ8RxjMEt0vsRBt46HaLvSH qdVA==
X-Gm-Message-State: AOJu0YzwjwbCarST9jl2LtyFmvwUn2SoBy5kNlY/1+Peh9Qcha6/uyhZ 5gs/CsRJi9+QnRCFAptJqeoR1pbLLkmCtWziVUb800VWzV+Htg==
X-Google-Smtp-Source: AGHT+IH02hcjJLnu4UbtnHPzqFn2pTKnP29qOU5dl+7+5W3tTiKH4pOpQUy72gUBsJIi6hSNT5NfHlHwvOkRxnk/Dbc=
X-Received: by 2002:a50:ef09:0:b0:533:1acb:7134 with SMTP id m9-20020a50ef09000000b005331acb7134mr2208099eds.23.1695498551005; Sat, 23 Sep 2023 12:49:11 -0700 (PDT)
MIME-Version: 1.0
References: <169479938668.18742.9199862891950651366@ietfa.amsl.com> <CAHBU6ivzUV947N+n7AoYkCFT3ZfaLobCQ4fBXw3dvkqTT=LBAw@mail.gmail.com> <SY4PR01MB5980D8DDE229D1C57AEDFB55E5FBA@SY4PR01MB5980.ausprd01.prod.outlook.com> <CAChr6SzRa8F+OrELa8N3rAMLmxdvr-g5c0i_9ESnWnwZY-iA4A@mail.gmail.com> <CAChr6Sy05spOW9nsy36kYr8Ob6OYS7vCgrEVPhhWs9Pe4LkpNA@mail.gmail.com> <2e6c2d13-9fc9-d320-3803-2b9a4df3b042@ix.netcom.com> <CAChr6Swr5tS2-wW8dZ0A4J7_Jd+RoHZNJkzhNfcVTi84oDvOPA@mail.gmail.com> <1d19f72f-8c41-f10c-831c-8e5cea347478@ix.netcom.com> <CAChr6Syxofvsz6bzw7sZcNNbQHw0KnBgTFfAmAmz8gRcQQwnBg@mail.gmail.com> <E20C6F72-C895-4EBB-B076-A3C317445049@tzi.org> <CAChr6Swza1QVvWCzqFBM3mdv=NjWHurGxkjO1zKdmUestQ-uOg@mail.gmail.com> <CAChr6SydgwW3wc+prxx+V8d+ithLoZ9+HGehGYYpWFOoMNMEYA@mail.gmail.com> <1a4bf4fa-9468-0739-0f99-70336e1037c9@ix.netcom.com> <CAHBU6isNM4to5NHkARL5pu3+F-QLoh3O7WHzrCSuQMhetqLFDg@mail.gmail.com> <E07C4747-F921-4AD6-BFCD-019889DCA29A@tzi.org>
In-Reply-To: <E07C4747-F921-4AD6-BFCD-019889DCA29A@tzi.org>
From: Rob Sayre <sayrer@gmail.com>
Date: Sat, 23 Sep 2023 12:48:59 -0700
Message-ID: <CAChr6Sw32W9_T7UBxaBQa9CRXwcVsycZGzKjQ6yMbM7N+8wqsA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Tim Bray <tbray@textuality.com>, Asmus Freytag <asmusf@ix.netcom.com>, "Manger, James" <James.H.Manger=40team.telstra.com@dmarc.ietf.org>, ART Area <art@ietf.org>, "i18ndir@ietf.org" <i18ndir@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d9967806060c04ad"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/ZisbXSvOeUZ48va_1Trw-kKrHho>
Subject: Re: [I18ndir] [art] Fwd: New Version Notification for draft-bray-unichars-04.txt
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 23 Sep 2023 19:49:13 -0000

On Sat, Sep 23, 2023 at 9:54 AM Carsten Bormann <cabo@tzi.org> wrote:

> On 2023-09-23, at 18:51, Tim Bray <tbray@textuality.com> wrote:
> >
> > I can’t see any reason to discuss string processing in programming
> languages. The IETF is concerned with the bytes that flow across the
> network. Our job is to document what to transmit and what to receive.
>

I think this stance is correct. The example MDN thing I sent was all in JS,
but you could send that JSON message over the network in well-formed UTF-8.
The ECMA JS WG, TC-39, altered their JSON.stringify API to produce this
type of message: <https://github.com/tc39/proposal-well-formed-stringify> .
It even mentions I-JSON in the "Discussion" section.


> (And, by the way, more modern programming languages tend to ensure strings
> are always valid, so such a discussion would be specific to the ones that
> don’t do that.)
>

Well, sort of. The ones that do that usually have other string types (OS
strings, C strings, byte strings) that don't enforce well-formedness, since
these are necessary to interact with other programs. But things like Swift
and Rust are pretty nice if you can stick to their basic string types.

thanks,
Rob