-
Notifications
You must be signed in to change notification settings - Fork 17
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
New section about IDNs #128
base: gh-pages
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for bp-i18n-specdev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This seems like the wrong advice. For specifications dealing directly with domains we'd want them to reuse https://url.spec.whatwg.org/#host-parsing. At some point that ends up using IDNA2008 by way of UTS46, but with a lot of caveats. |
Sorry, I just saw this. We can change the text to something like this:
What is the reason for not using IDNA2008 directly? Is the rationale recorded somewhere? |
IDNA2008 is not what's actually implemented. UTS46 has quite a bit to say about it, which is referenced from URL. |
Co-authored-by: Addison Phillips <[email protected]>
<p>IDNA2008 and IDNA2003 do not match what's implemented in web browsers. Browsers use IDNA2008 by way of [[UTS46]].</p> | ||
|
||
<div class="req" id="punycode"> | ||
<p class="advisement">Specifications SHOULD NOT refer to Punycode, especially as a type of string. The IDNA2008 terminology of "A-labels" and "U-labels", defined in RFC 5890, SHOULD be used.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm no? They should use the URL terminology and algorithms. Punycode is completely abstracted away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now the problem is that there are some specs that do use the term "Punycode" to refer to the ASCII-Compatible Encoding form. Any suggestions for which term in URL should be used? Such as:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HTML is being fixed in whatwg/html#10522.
CSP should reference URL's domain to ASCII.
RDF seems like it wants "domain to Unicode", but it also references IETF's URI/IRI so I'm not sure it can be helped.
Fix #119.
This is a new section about IDNs, without much content. Any comments would be appreciated.
Preview | Diff