Re:Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
by jackewiehose on Wednesday January 08, 2020 @01:28PM
(#21994268)
Interesting. I agree that latin isn't sufficient but they could
have just extended the list of allowed characters by a few other
defined alphabets. No need to include every(?) unicode-point
just because it's the technical more elegant solution.
[ Parent
| on HN ]
Re:Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
by wongarsu on Wednesday January 08, 2020 @01:56PM
(#21994553)
Allowing only a few alphabets doesn't solve much (Cyrillic "а" still looks like latin "a" in most fonts) but opens new cans of worms: how do you update this list, why isn't alphabet x of important minority y included, etc.
Much easier to just allow everything in the technical standards and let domain registries set reasonable standards that make sense for that tld. Sometimes that works well (.de for example has a list of 93 allowed unicode characters [1] which covers everything a German might plausibly use from German or neighboring country's alphabets), but some registries just don't seem to care much (e.g. .com).
1: https://www.denic.de/en/know-how/idn-domains/idn-character-l...