Skip to content

ext/mbstring: Update to Unicode 16 - #15898

Closed
Ayesh wants to merge 1 commit into
php:masterfrom
Ayesh:unicode-16
Closed

ext/mbstring: Update to Unicode 16#15898
Ayesh wants to merge 1 commit into
php:masterfrom
Ayesh:unicode-16

Conversation

@Ayesh

Copy link
Copy Markdown
Member

Updates UCD to Unicode 16.0 (released 2024 Sept).

Previously: 0fdffc1, #7502, #14680

Unicode 16 adds several new character sets and case folding rules. However, the existing ucgendat script can still parse them.

This also adds a couple test cases to make sure the new rules for East Asian Wide characters and case folding work correctly. These tests fail on Unicode 15.1 and older because those verisons do not contain those rules.

@alexdowad

Copy link
Copy Markdown
Contributor

Thanks very much!
Any comment from @youkidearitai?

@youkidearitaiyoukidearitai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw changes of Unicode 16.0, Looks good to me.
Thank you very much.

Updates UCD to Unicode 16.0 (released 2024 Sept).
Previously: 0fdffc1, php#7502, php#14680
Unicode 16 adds several new character sets and case folding rules.
However, the existing ucgendat script can still parse them.
This also adds a couple test cases to make sure the new rules for
East Asian Wide characters and case folding work correctly. These
tests fail on Unicode 15.1 and older because those verisons do not
contain those rules.
@Ayesh

Copy link
Copy Markdown
MemberAuthor

Thank you for approving this @alexdowad@youkidearitai.
I adjusted our notes in the UPGRADING and NEWS files as well.

@alexdowad

Copy link
Copy Markdown
Contributor

@youkidearitai Shall I merge?

@youkidearitai

Copy link
Copy Markdown
Contributor

@alexdowad Yes, please!

@youkidearitai

Copy link
Copy Markdown
Contributor

@alexdowad Did you find any problems? If nothing, shall I merge instead of you?

@alexdowad

Copy link
Copy Markdown
Contributor

Very sorry, I just got occupied with other things and didn't complete this task.

@alexdowad

Copy link
Copy Markdown
Contributor

CI failure for WINDOWS_X64_ZTS is spurious.

@alexdowad

Copy link
Copy Markdown
Contributor

Just to make very sure everything is OK, I downloaded the UCD files for Unicode 16.0.0 and re-ran ucgendat.php. Same results as this PR.

@alexdowad

Copy link
Copy Markdown
Contributor

This is really odd... when I fetch this comment and merge it into master locally, I don't see the added entry in NEWS. 😕 Fixing that up manually...

@Ayesh

Copy link
Copy Markdown
MemberAuthor

Thank you @alexdowad. You are right, the changes are merely after running the script. We had some issues in the script for Unicode 15.1, but 16.0 had no problems.

@alexdowad

Copy link
Copy Markdown
Contributor

Thanks very much, @Ayesh... this is now landed on master.

@Ayesh

Copy link
Copy Markdown
MemberAuthor

Thank you @youkidearitai@alexdowad 🙏.

@Ayesh
Ayesh deleted the unicode-16 branch September 17, 2024 01:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Ayesh@alexdowad@youkidearitai