Re: [whatwg/url] IDNA Utils (#274)

> I don't think we want ToUnicode to be configurable. Each extra bit of API surface just leads to lots of bugs. Better to start out small.

Well, which "version" of ToUnicode do we want, the standard ICU implementation or what the browser URL bar displays?

> Alternatively you could make ToUnicode an argument to toString()

I just don't think that overloading `host.toString()` is appropriate because the Punycode/Nameprep transform is very specific to DNS.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/274#issuecomment-286849288

Received on Wednesday, 15 March 2017 19:14:06 UTC