From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8163D3861014; Tue, 30 Jun 2020 13:05:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8163D3861014 From: "fw at deneb dot enyo.de" To: glibc-bugs@sourceware.org Subject: [Bug locale/2373] Restrict UTF-8 to 17 planes, as required by RFC 3629 Date: Tue, 30 Jun 2020 13:05:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: locale X-Bugzilla-Version: 2.3.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at deneb dot enyo.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2020 13:05:56 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D2373 --- Comment #11 from Florian Weimer --- (In reply to Andreas Schwab from comment #7) > RFC 2044 defines UTF-8 as a 1-6 octet encoding, referencing ISO/IEC > 10646-1:1993 as the source. This was eventually updated by RFC 3629, whi= ch > introduced the U+10FFFF limit, but citing ISO/IEC 10646-1:2000 as without > that limit. This is very misleading. I have a copy of ISO/IEC 10646-1 : 2000(E), bought directly from ISO, and Annex D (which is normative) still specifies 7FFF FF= FF as the maximum UCS-4 value. If UTF-8 is restricted to 17 planes in ISO 10646, this restriction has been introduced in a later version of the standard. I don't think this matters because RFC 3629 is a publicly accessible standa= rd, so I think this is what we should follow anyway. --=20 You are receiving this mail because: You are on the CC list for the bug.=