Re: support for non-ASCII in strings, was: signatures vs sf-date

Julian Reschke <julian.reschke@gmx.de> Fri, 02 December 2022 11:12 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F24FCC14CEEA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Dec 2022 03:12:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.05
X-Spam-Level:
X-Spam-Status: No, score=-5.05 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
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 POm1HB5UZ7Tw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Dec 2022 03:12:12 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AC2AC14CEE5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 2 Dec 2022 03:12:11 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1p13xU-008oRd-0W for ietf-http-wg-dist@listhub.w3.org; Fri, 02 Dec 2022 11:11:56 +0000
Resent-Date: Fri, 02 Dec 2022 11:11:56 +0000
Resent-Message-Id: <E1p13xU-008oRd-0W@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1p13xR-008oQB-VZ for ietf-http-wg@listhub.w3.org; Fri, 02 Dec 2022 11:11:53 +0000
Received: from mout.gmx.net ([212.227.17.20]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1p13xQ-0046z0-CZ for ietf-http-wg@w3.org; Fri, 02 Dec 2022 11:11:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1669979498; bh=NPW0k5oDg8S1xardm7yx62uUwgamZZ8dpdH+TqOZWQU=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=LwNtqrWAPl0yeBh9echR/ssCqPY/ltnJBkk9LtaT3Hela4/BKmmt2+wcuDKZGzPSc GAY07R8JWiP99IIBybmyX9ahdTlRGFmfH+N9DXpIPDnUYRPcphbKn5bUDjCfcLv65C nFuD0ot3UzOwbD6MOG6x1ZYFmWt/X/QddQvXnwg2/jFgzXGiuQI+wme9i1F/KLM54d h9ZMUCTHJM+Ud+SMTGhF6bla39NHMfKLdfxuv8awnY2FZwYgdsDPFCtXfyL5jy9vYh Q3F48a9W9Q9k5CeC5s7XOHJIucl3EIMFvX3GLsvTTPtf7nisXJaQ2yLwZ0SXxxSBxO uwujyElVQFsyA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.179] ([217.251.128.99]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mplbx-1odYV247iP-00qD22 for <ietf-http-wg@w3.org>; Fri, 02 Dec 2022 12:11:38 +0100
Message-ID: <5559e7d7-675d-5f61-d9ad-f0f2ab2b5e14@gmx.de>
Date: Fri, 02 Dec 2022 12:11:37 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
Content-Language: en-US
To: ietf-http-wg@w3.org
References: <2070c8e0-98d6-7b63-77c3-550bcd661397@gmx.de> <202212011735.2B1HZYgm004808@critter.freebsd.dk> <e580db7e-c0ec-0f1a-17af-5719ab09468c@gmx.de> <202212020810.2B28ALnL004331@critter.freebsd.dk> <eee5a787-da37-feb1-098a-7d2d9c0f1d37@it.aoyama.ac.jp> <202212020848.2B28mGbc004600@critter.freebsd.dk> <4e251954-afb6-fa08-616c-db95e23ad1fd@gmx.de> <202212020946.2B29kSe6004829@critter.freebsd.dk> <75dad0c0-e3bb-1189-0c16-e8275d3879ff@gmx.de> <202212021016.2B2AGvEP004972@critter.freebsd.dk> <9990b393-93ff-75af-4e14-de4f6ba3366c@gmx.de> <202212021102.2B2B2Yu7005236@critter.freebsd.dk>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <202212021102.2B2B2Yu7005236@critter.freebsd.dk>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:ERI4vaZpsECWUh7TK81A716WoJD0pgh6wEZeq7JsrINI/3dFge8 KpGHIDKzs99Q7RHhXy1QGa8IsXvP/myC7QjMhWTy/8d2PRLeTQuNsYhU3AV3RaOHbAJcJTC 3hcmGthZtNiK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622MKq9RDt2yoWClVUQETf1cGstIMn0dsf Yp4d+w==
Received-SPF: pass client-ip=212.227.17.20; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=gmx.de), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: 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, NICE_REPLY_A=-0.258, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1p13xQ-0046z0-CZ 3ee8c9dc1ec862b803958ad1d3357980
X-Original-To: ietf-http-wg@w3.org
Subject: Re: support for non-ASCII in strings, was: signatures vs sf-date
Archived-At: <https://www.w3.org/mid/5559e7d7-675d-5f61-d9ad-f0f2ab2b5e14@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40608
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 02.12.2022 12:02, Poul-Henning Kamp wrote:
> --------
> Julian Reschke writes:
>
>> The key question here is: do we need to support strings containing human
>> language in HTTP fields?
>> <https://www.ietf.org/archive/id/draft-ietf-httpapi-rfc7807bis-04.html#section-4>
>> does that, and says:
>
> Didn't we just agree that sf(bis) can already transport I18N strings /at least/ two different ways ?
>
> RFC5987 or sf-binary + implicit or explicit encoding information ?

Well, it was not me who added the new encoding to the Problem field spec.

> I cannot see any way we "need to support strings [...]" on top of that,
> and I am a big beliver in Gettys rules of design:
>
> 	1. Do not add new functionality unless an implementor cannot
> 	   complete a real application without it.

So why are we adding sf-date then? Why do we actually work on a revision
at all?

> 	2. It is as important to decide what a system is not as to
> 	   decide what it is. Do not serve all the world's needs;
> 	   rather, make the system extensible so that additional
> 	   needs can be met in an upwardly compatible fashion.

If that leads to multiple, non-interoperable solutions for the same
problem: no.

> 	3. The only thing worse than generalizing from one example is
>             generalizing from no examples at all.  (Phil Karlton)

I don't get how that applies here.

> So for all I care:  We're done with that subject in context of sfbis.
>
>> JSON, transferred over 7 bit transports, being broken because people got
>> escapes wrong?
>
> This is way of topic by now, but the most recent one had danish
> national characters encoding as ISO8859-1 characters, the one
> before that had the escapes as '%5c%78[hexchar][hexchar]' and
> the hex value was in ISO8859-15.

Thanks. That confirms what I said: no issues due to incorrect "\u" escapes.

Best regards, Julian