I'm using the function $HTTP_HOST at a windows server and have some problems with IDN subdomains.
Lets say that the subdomain is "subdom.domain.com" then there is no problem.
But if the domain is "subdömen.domain.com" the $HTTP_HOST will give me as output the IDN converted domain and the "ö" character will be lost.
Is there a way to detect the domain as it is, a string, not a IDN converted string?