URL-SYNTAX: update IDNA section for WHATWG spec changes#7026
Closed
TimothyGu wants to merge 1 commit intocurl:masterfrom
TimothyGu:url-syntax-idna
Closed
URL-SYNTAX: update IDNA section for WHATWG spec changes#7026TimothyGu wants to merge 1 commit intocurl:masterfrom TimothyGu:url-syntax-idna
TimothyGu wants to merge 1 commit intocurl:masterfrom
TimothyGu:url-syntax-idna
Conversation
WHATWG URL has dictated the use of Nontransitional Processing (IDNA 2008) for several years now. Chrome (and derivatives) still use Transitional Processing, but Firefox and Safari have both switched. Also document the fact that winidn functions differently from libidn2 here.
ebejan
approved these changes
May 6, 2021
bagder
approved these changes
May 6, 2021
Member
|
Thanks! |
| When built with libidn2, curl uses the IDNA 2008 standard. This is equivalent | ||
| to the WHATWG URL spec, but differs from certain browsers that use IDNA 2003 | ||
| Transitional Processing. The two standards have a huge overlap but differ | ||
| slightly, perhaps most famously in how they deal with the German "double s" |
There was a problem hiding this comment.
At least in German the character is called sz and only replaced with two s when you don't have the character available or when you need to capitalize it because officially there is no capital variant of it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WHATWG URL has dictated the use of Nontransitional Processing (IDNA 2008) for several years now (since whatwg/url#240). Chrome (and derivatives) still use Transitional Processing, but Firefox and Safari have both switched.
Also document the fact that winidn functions differently from libidn2 here.