From 3f359eb0145d4186effb9ee95ba3e5b8115efede Mon Sep 17 00:00:00 2001
From: Andy Seaborne
Date: Fri, 7 Feb 2025 21:17:36 +0000
Subject: [PATCH] Revise IRI advice after i18n input
---
spec/index.html | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/spec/index.html b/spec/index.html
index 3c94928..a4a1c2b 100644
--- a/spec/index.html
+++ b/spec/index.html
@@ -664,9 +664,8 @@ IRIs
- - Use lowercase characters in scheme names and domain names.
- - Only use percent-encoding of characters where
- necessary for IRI syntax.
+ - Use lowercase characters in scheme names.
+ - Only use percent-encoding of characters where required by the IRI syntax.
- Omit the HTTP or HTTPS default port;
http://example/
is preferred over http://example:80/
.
- Use uppercase hexadecimal letters within percent-encoding
@@ -676,9 +675,14 @@
IRIs
http://example/
is preferred over
having no path http://example
.
- Normalize IRIs to remove "
/./
" and "/../
" in the path
- component of an IRI.
- - Avoid using punycode-encoding of Internationalized Domain Names
- in IRIs [[RFC5890]].
+ component of an IRI.
+ - Use lowercase characters in domain names.
+ Note that, while ASCII characters in domain names are case-insensitive,
+ non-ASCII characters in domain names are case-sensitive [[RFC5890]].
+ Domains are generally only registered with lowercase letters [[RFC5892]].
+ - Avoid using the
+ A-label
+ (ASCII, punycode-encoded name]) for Internationalized Domain Names [[RFC5890]] in IRIs.
- Use IRIs in Unicode [=Normalization Form C=] [[I18N-Glossary]].