Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

Update Emoji dataset to Unicode 14 (#22342)

Gitea emoji dataset was out of date because it gets manually built and
hasn't been rebuilt since it was added. This means Gitea doesn't
recognize some newer emoji or changes to existing ones.

After changing the max unicode version to 14 I just ran: `go run
build/generate-emoji.go`

This should address the initial issue seen in #22153 where Gitea doesn't
recognize a standard alias used elsewhere when importing content.

14 is the latest supported version from the upstream source as 15 is not
widely supported (in their opinion) yet
This commit is contained in:
isla w 2023-01-04 12:52:48 -05:00 committed by GitHub
parent fdbb0b4762
commit f41ad344cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 527 additions and 306 deletions

2
assets/emoji.json generated

File diff suppressed because one or more lines are too long

View file

@ -25,7 +25,7 @@ import (
const (
gemojiURL = "https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json"
maxUnicodeVersion = 12
maxUnicodeVersion = 14
)
var flagOut = flag.String("o", "modules/emoji/emoji_data.go", "out")

File diff suppressed because it is too large Load diff