Skip to content

URL-SYNTAX: update IDNA section for WHATWG spec changes - #7026

Closed
TimothyGu wants to merge 1 commit into
curl:masterfrom
TimothyGu:url-syntax-idna
Closed

TimothyGu wants to merge 1 commit into
curl:masterfrom
TimothyGu:url-syntax-idna

Conversation

@TimothyGu

Copy link
Copy Markdown
Contributor

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.

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.
@bagder bagder closed this in 51e3388 May 6, 2021
@bagder

bagder commented May 6, 2021

Copy link
Copy Markdown
Member

Thanks!

Comment thread docs/URL-SYNTAX.md
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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants