Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Unicode 16.0.0 #5

Merged
merged 7 commits into from
Sep 17, 2024
Merged

Update to Unicode 16.0.0 #5

merged 7 commits into from
Sep 17, 2024

Conversation

rmisev
Copy link
Member

@rmisev rmisev commented Sep 17, 2024

Disallow empty root labels when the VerifyDnsLength flag is set, as
specified in the A4_2, see:
https://www.unicode.org/reports/tr46/tr46-33.html#ToASCII

This is clearly stated in Unicode 15.0, but the tests are not fixed
until Unicode 16.0.
Update to download Unicode 16.0.0 files.
Also:

* Update the test code.

* Correctly label tests in IdnaTestV2-mano.txt
There is the following comment in the IdnaTestV2.txt file:
"Implementations that cannot work with ill-formed strings would skip
test cases that contain them. For example, the status code A3 is set for
a Punycode encoding error, which may be due to an unpaired surrogate."
@rmisev rmisev merged commit fe142ad into main Sep 17, 2024
13 checks passed
@rmisev rmisev deleted the idna-16 branch September 17, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant