3 ms·
Side note for hn devs, this url is in Chinese characters but appears as garbage in hn site.
by gbog 10y ago
Side note for hn devs, this url is in Chinese characters but appears as garbage in hn site.
- steveklabnik 10y agoSee https://en.wikipedia.org/wiki/Punycode https://en.wikipedia.org/wiki/Punycode and https://en.wikipedia.org/wiki/Internationalized_domain_name#ASCII_spoofing_concerns https://en.wikipedia.org/wiki/Internationalized_domain_name#...
- oneeyedpigeon 10y agoThat explains that it's not 'garbage' but it doesn't explain why hn isn't doing something a bit nicer than hosing the Unicode version. As another commenter pointed out, even just displaying both would probably be an improvement.
- steveklabnik 10y agoI can only speak to the parts I know about.
- WorldMaker 10y agoI get the feeling HN needs something of a rewrite for better Unicode support in general, based solely on the ways I've seen it strip Unicode from comments.
- goodplay 10y agoI also believe that a something better than the status quo is possible. Perhaps render the URL correctly then display the obfuscated URL beside it in between parentheses. International domain names will never be used if browser and website support remains as horrible as it currently is.
- meowface 10y agoSadly, that's just the RFC at work.