]> Cypherpunks.ru repositories - gostls13.git/commit
all: upgrade Unicode from 13.0.0 to 15.0.0
authorweebney <weebney@gmail.com>
Mon, 12 Dec 2022 19:10:54 +0000 (19:10 +0000)
committerRob Pike <r@golang.org>
Mon, 6 Feb 2023 04:29:53 +0000 (04:29 +0000)
commitdef0be5e34d6657c84407c8afe4ace05d10d1848
tree6d82a8c7b7e2280849645b5a294d2b6c08b31f94
parent2da8a55584aa65ce1b67431bb8ecebf66229d462
all: upgrade Unicode from 13.0.0 to 15.0.0

Update unicode/tables.go to reflect changes in the Unicode Standard up to
Unicode 15.0.0, released 13 Sept 2022.

In order to accommodate this update, strconv/isPrint has been updated to
reflect changes in printable characters.

Also changed is template/exec_test.go for both text and html packages- in
the test "TestJSEscaping", rune U+FDFF was used as a placeholder for an
unprintable character. This codepoint was assigned and made printable in
Unicode 14.0.0, breaking this test. It has been replaced with the assigned
and never-printable U+FFFE to fix the test and provide resiliency in the
future.

This upgrade bypasses Unicode 14.0.0, but is compatible.

Updates https://github.com/golang/go/issues/48621
Fixes https://github.com/golang/go/issues/55079

Change-Id: I40efd097eb746db0727ebf7437280916d1242e47
GitHub-Last-Rev: c8885cab7a0c23632e1e5a433b1e8d5634a45a30
GitHub-Pull-Request: golang/go#57265
Reviewed-on: https://go-review.googlesource.com/c/go/+/456837
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Rob Pike <r@golang.org>
api/except.txt
api/next/55079.txt [new file with mode: 0644]
src/html/template/exec_test.go
src/strconv/isprint.go
src/text/template/exec_test.go
src/unicode/tables.go