Trying to connect to hosts with non-ASCII in the name doesn't work. E.g. wget www.troms�.no
Resolving www.troms%f8.no... failed: Host not found. (� = o with slash, ø) The host does in fact exist. I have to use the ACE form www.xn--troms-zua.no which is a bit of a pain. Ref. http://www.norid.no/domenenavnbaser/ace/?language=en Why is wget munging the hostname here? Seem it calls reencode_escapes() on the hostname part. Why I don't know. If it where not for the "Host:" header, the name could remain un-escaped. I don't know what the standard say about this case. Should the header contain "Host:www.xn--troms-zua.no" ? --gv
